iOS Question [B4X] xCustomListView KeyboardStateChange event and ScrollToItem

Alexander Stolte

Expert
Licensed User
Longtime User
Hello,

i have a problem, i have a customlistview and under this is a textview, if i click on the textview, then the keyboard is open, then i change the top value of the textview and change the heigh of the customlistview over the textview. After that i want to Scroll to the last item in the list in the KEyboardStateChange Event, but the list is scrolling to the first item on the list.

But if i click on the arrow then the list is scrolling to the last item.

In the Attachment is a sample project it demostrate it.

And yes i have updatet the class.
 

Attachments

  • xCustomListView Scroll Bug.zip
    158.6 KB · Views: 203

Alexander Stolte

Expert
Licensed User
Longtime User
i dont need this example, because i calculate it right. My Problem is, that the list is scrolling to the First item and not to the last After heigh Change.

But this happend only if i Call it in the Keyboard heigh Change Event
 
Upvote 0
Top