Reputation: 17
I have a listview that get posts and data of users, I want to save my data and view even if I closed my application and re-opened it, I need it to open the same data that was loaded and the same view and don't load data and view again just like facebook does. Can anybody help me?!
Upvotes: 0
Views: 1114
Reputation: 701
Save your posts in Android Sqlite Database and then load data from sqlite then make a network request.
Upvotes: 1
Reputation: 6709
Sounds to me like you need to store the information on the actual phone.
Upvotes: 1