peacemaker Expert Licensed User Longtime User Apr 20, 2017 #1 HI, All Did you see Aliexpress app ? It's endless scrollview with image and text info, and without memory problems. Scrolling down and back for endless records qty. And without pause for the view reload. How is it made ? Possible to make such CustomListView class version? Main task is to avoid OOM error. I tried with current CustomListView class, with one image and 5 text labels for the panel. If 300 x 300 px images - OutofMemory is around 150 panels... Last edited: Apr 20, 2017
HI, All Did you see Aliexpress app ? It's endless scrollview with image and text info, and without memory problems. Scrolling down and back for endless records qty. And without pause for the view reload. How is it made ? Possible to make such CustomListView class version? Main task is to avoid OOM error. I tried with current CustomListView class, with one image and 5 text labels for the panel. If 300 x 300 px images - OutofMemory is around 150 panels...
Erel B4X founder Staff member Licensed User Longtime User Apr 20, 2017 #2 You will need to remove the bitmaps of the invisible items as the user scrolls the list. Adding more items when the list is scrolled to the end: https://www.b4x.com/android/forum/t...-and-loads-more-when-scroll-tot-bottom.35761/ Upvote 0
You will need to remove the bitmaps of the invisible items as the user scrolls the list. Adding more items when the list is scrolled to the end: https://www.b4x.com/android/forum/t...-and-loads-more-when-scroll-tot-bottom.35761/
eps Expert Licensed User Longtime User Apr 20, 2017 #3 Check @Informatix Ultimate List View (ULV) it's chargeable, but good Upvote 0
peacemaker Expert Licensed User Longtime User Apr 21, 2017 #4 No, i'm back. Many apps of famous companies allow scrolling very big list with pagination - down with extra loading (it's clear how to add), but and with scrolling up back - also with cashed loading the previous records, but very fast, faster than the new ones are loaded via Internet. But how can it be made, if any container (containing items) has the roof and the bottom ? And scrolling up sooner or later should be back at the top, at Zero point... Will check ULV. But it's interesting to understand how to scroll a container without the bottom Last edited: Apr 21, 2017 Upvote 0
No, i'm back. Many apps of famous companies allow scrolling very big list with pagination - down with extra loading (it's clear how to add), but and with scrolling up back - also with cashed loading the previous records, but very fast, faster than the new ones are loaded via Internet. But how can it be made, if any container (containing items) has the roof and the bottom ? And scrolling up sooner or later should be back at the top, at Zero point... Will check ULV. But it's interesting to understand how to scroll a container without the bottom
peacemaker Expert Licensed User Longtime User Apr 23, 2017 #6 eps said: Check @Informatix Ultimate List View (ULV) it's chargeable, but good Click to expand... Confirmed ! It is those lib i needed ! Upvote 0
eps said: Check @Informatix Ultimate List View (ULV) it's chargeable, but good Click to expand... Confirmed ! It is those lib i needed !