ThePuiu Active Member Licensed User Longtime User Oct 19, 2017 #1 I have a ScrollView in which I add more panels (~1000). I have noticed that after deleting one of them, the remaining ones are not rearranged. What is the best method for a large number of panels? Thank you!
I have a ScrollView in which I add more panels (~1000). I have noticed that after deleting one of them, the remaining ones are not rearranged. What is the best method for a large number of panels? Thank you!
Star-Dust Expert Licensed User Longtime User Oct 19, 2017 #2 Obviously not reorganize them They should usually be removed and reinserted. But they are too many. Try with CustomListView or UltimateListView. Upvote 0
Obviously not reorganize them They should usually be removed and reinserted. But they are too many. Try with CustomListView or UltimateListView.
Misterbates Active Member Licensed User Oct 19, 2017 #3 Take a look at CustomListView source code (developed by @Erel) Seems the best way is to move the lower panels up the ScrollView one by one. https://www.b4x.com/android/forum/t...listview-cross-platform-customlistview.84501/ Upvote 0
Take a look at CustomListView source code (developed by @Erel) Seems the best way is to move the lower panels up the ScrollView one by one. https://www.b4x.com/android/forum/t...listview-cross-platform-customlistview.84501/
Star-Dust Expert Licensed User Longtime User Oct 19, 2017 #4 A second alternative and review each panel next to that removed and move them indifferently by modifying the Panel.Top or using SetLayout ... But ask for time, I do not know if it is very practical Last edited: Oct 19, 2017 Upvote 0
A second alternative and review each panel next to that removed and move them indifferently by modifying the Panel.Top or using SetLayout ... But ask for time, I do not know if it is very practical
Erel B4X founder Staff member Licensed User Longtime User Oct 19, 2017 #5 Why aren't you using CustomListView? CustomListView is a ScrollView with panels as items. It will take care of organizing the items for you (with or without animations). Upvote 0
Why aren't you using CustomListView? CustomListView is a ScrollView with panels as items. It will take care of organizing the items for you (with or without animations).