I have two arraylist objects:
public static List< Bitmap> homeImages;
public static List< WPListModel> newslistitems;
These list store the data by getting it from server, it store all images in homeImages and textual data in newslistitems...
Now my question is whenever I open my Android App, it hits on server and store data in arraylists and display it, I want to store data in cache so whenever I open the App then first it checks in cache, if data is present then it will show otherwise normal procedure(hit on server and get the data) and if data is present then it will show the data and after opening the app it gets the latest data(after opening).