vendredi 24 juin 2016

ListView vs Scrollview vs memory

Let me see if I get this straight.

A ListView can hold thousands of lines because this view removes the invisible rows from memory. Inconvenience: in B4A you can only add an icon and a set of two lines.

A ScrollView can hold all views you want, but scrolling does not remove the views from memory, resulting in out of memory errors if you add a lot of views.

So... how can you scroll vertically in thousands of pictures for instance? Horizontally you can use AHVIEWPAGER, which fires an event...

ListView vs Scrollview vs memory

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/28RRtef
via IFTTT

Aucun commentaire:

Enregistrer un commentaire