I am developing an SMS app. I am getting messages from the Android Database
every time user opens the App.
On a device with around 100 messages, it works fine. But with a device with 10,000 messages the app takes around 20 seconds to display the list after getting all the information.
To solve this, I am thinking about three possible options here:
- Should I consider saving all the data to my own
database
? Will it make it faster? - Should I get some messages first, and then the rest in the background?
- Any other option you might suggest.
Thanks in advance.