B4X:
'mCLV is a CustomListView, obviously'
Dim pnlItem As B4XView
pnlItem = mCLV.GetRawListItem(mCurrentSelectedIndex).Panel
If pnlItem.Top + pnlItem.Height + mCLV.DividerSize > ??? Then
Log("Not fully visible")
End If
This is also a "Wish" about CLVs. It would be very useful if on touch (or selection, when using the CLVSelections class) the item was automatically repositioned so that it is fully visible.
I don't know if the code I posted is the right way and what to write instead of ???
P.S. Also, I haven't figured out what to write inside the "If" block yet; JumpTo wouldn't be "correct".
P.P.S. I'm hungry and I ran out of frozen pizza ?