The story is that I'm now programming for Android.
I found that ArrayList is really slow, especially when used with adapters for listviews, as sorting and searching are required for my project. Is there any alternative library out there?
Thank you so much.
As other answers have said, there are some alternative Collection libraries.
However, in core your problem might not be the library but rather your own choice of Collection. Using a different library, will not change this.
In Java, and thus Android, you have a vast array of Collection choices to your disposal, all with different pro's and cons.
This is a way to long story to write up, so unless you write down exactly what you want to do with it, no one can really tell you which choice is best. However, to give you a little start you could take a look at this;
Other than Collection framework in standard java API, below two are famous for their rich collection framework.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With