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?!
Asked
Active
Viewed 1,102 times
2 Answers
1
Sounds to me like you need to store the information on the actual phone.
1
Save your posts in Android Sqlite Database and then load data from sqlite then make a network request.

Jitender Chaudhary
- 701
- 5
- 10
-
one more good sqlite android tutorial to start http://www.quicktips.in/basic-android-sqlite-database-exampletutorial/ – Deepak Swami Aug 25 '15 at 03:42
-
I think the OP means that he does not want to make a request to retrieve the data. – Loolooii Sep 09 '15 at 11:24