Help with the app (downloading a huge List and populating a ColinTreeListView)

I have more than 3K names and logos.
The problem is that the app crashes on me while I try to run it!
Is it possible to run the block and continue messing with the application?

Thanks for the help :pray:

Substitute a shortened listDictionary to use while testing. Your large list is probably what is creating difficulty for you. When you get the app to run as you like, use the original huge List once again. :slightly_smiling_face:

Can I have an example?

just make your original list shorter. :cry: and test with it instead of your huge list.

a,b,c instead of a,b,c,d,e,f,g,h....

I can't shorten the list as I'm importing it from a web address

make a copy of your imported list; modify the copy and disable the part of your app that imports from the web and temporarily use the short copy.

It won't help because the problem is in the creation of the list and not in its import...thanks anyway

colinTree3

Don't process the entire List. Only add 5 or so elements? Good luck.

Colin's ListView is not a very good component for managing large lists. You should use something based on RecyclerView.

Do you have an extension based on this?

Do you have the ability to search the community (for extensions... there is an entire category?)

Also, who, in their right mind, is going to read through a list 3000 items long?

1 Like

I did it already and found
Thanks