alphabet_list_scroll_view icon indicating copy to clipboard operation
alphabet_list_scroll_view copied to clipboard

Too slow and laggy with lots of items in list

Open pngsavvy opened this issue 4 years ago • 5 comments

This is a cool library but doesn't really work if you need 2000 items in your list. It gets really laggy. I'm not sure what the max number of items that should be used is.

pngsavvy avatar Jun 03 '20 00:06 pngsavvy

I have around 2300~ contacts on my phone that have travelled with me over the years. It's unusable at this level. Side scroll doesn't work. I'm setting userList to contacts using https://github.com/lukasgit/flutter_contacts

ghenry avatar Aug 19 '20 20:08 ghenry

I have around 2300~ contacts on my phone that have travelled with me over the years. It's unusable at this level. Side scroll doesn't work. I'm setting userList to contacts using https://github.com/lukasgit/flutter_contacts

I found out that Flutter apps run a lot faster once you build them into an apk file. Have you tried doing that? It works good enough for me now.

-zacharybeall.com

pngsavvy avatar Aug 19 '20 20:08 pngsavvy

Thanks @pngsavvy I'm still checking my code, but I can't see any issues on Android Studio showing up. Everything builds OK and appears, but the side sort works when it wants to. I'll dig in to the source of the project tomorrow/Friday as it still saves a ton of work.

ghenry avatar Aug 19 '20 20:08 ghenry

@ghenry Android and debug mode are not going well.. Try running at profile mode on a real device (not supported on emulators)

CripyIce avatar Aug 25 '20 07:08 CripyIce

I have this on real devices too.The listview is fast and OK, it's the side list for quick scroll that doesn't work or is way overloaded. Will profile it. Not dig into it yet to see if it's me or not :)

ghenry avatar Aug 25 '20 08:08 ghenry