0

Java - How to load immediately all the ListView?

Hi I'm doing an app with an adapter and a ListView, but lags a lot, because of the number of things to load. Is there a way to make the listview load entirely (and not only when the user scrolls it) at the start of the app? If not, what's the best way to make the app smoother? Thanks in advance F

24th Apr 2018, 5:49 PM
faby GT
faby GT - avatar
4 ответов
+ 2
You might want to look at RecyclerView which efficiently caches views which can make scrolling smoother
24th Apr 2018, 6:36 PM
Dan Walker
Dan Walker - avatar
+ 2
Best to look up a guide online, it's a little more involved and I forgot how to do it xD
24th Apr 2018, 7:29 PM
Dan Walker
Dan Walker - avatar
0
so have I to replace listview with recyclerview?
24th Apr 2018, 7:28 PM
faby GT
faby GT - avatar
0
ok thank you
24th Apr 2018, 7:58 PM
faby GT
faby GT - avatar