How to load only what displayed in List, Grid,Gallery, etc…?
-
11-10-2019 - |
Question
I would like to improve the load of my activities in my Android app.
Every activity is either a GridView, a List or a Gallery.
My questions is : How can I load only what's displayed ?
Let's say I have to display a list of 500 songs (The same with a grid of 500 pictures), and each cell includes the Thumbnail, title and lenght.
How can I know which one is currently displayed ?
I don't know if I made myself clear, if not please jut let me know.
Solution
I think you should have a look at Lazy List Loading Example.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow