Home » Java » How to sort a huge arrayList<JSONObject>(about 2000 records)?

How to sort a huge arrayList<JSONObject>(about 2000 records)?

Posted by: admin June 30, 2018 Leave a comment

Questions:

How to sort a huge arrayList<JSONObject>(about 2000 records) in android by specific property in each object

i used collection sort but it takes too much time for loading data and I can’t save data in ROOM(SQLite database) because it’s a dynamic app with different types of data.
Please help me to solve it.

Answers: