Reputation: 165
**how to store json data and show when network is not available
First when user login and go through home screen of application and when user network is not available still user can browse through the data.
Upvotes: 0
Views: 324
Reputation: 665
You can achieve this in multiple ways by using storage options:
http://developer.android.com/guide/topics/data/data-storage.html
I suggest use the shared preferences to achieve the following
Refer this for example How to keep android applications always be logged in state?
Upvotes: 1