iOS Question xCustomListView JumpTo and ScrollToItem ?

jahswant

Well-Known Member
Licensed User
Longtime User
xCustomListView JumpTo and ScrollToItem behaves in a weired way ? When called Item jumps to the end of the list.

B4X:
CustomListViewTop.JumpToItem(CustomListViewTop.Size-1)

Is there a workaround for this ?
 
Solution
In B4i when called with one item in list, that item jumps to the end of the list !
In B4i I use this solution:
B4X:
        If CustomListViewTop.LastVisibleIndex < CustomListViewTop.GetSize - 1 Then
            CustomListViewTop.JumpToItem(CustomListViewTop.GetSize -1 )
        End If
Cookies are required to use this site. You must accept them to continue using the site. Learn more…