I have multiple activities which consists of listviews with image and text fetched from the server. I need them to be available in when user is offline just like what facebook. I am trying to figure out the best possible way to achieve that?
I currently have 3 approaches in my mind:
- Save image as cache and text in shared preference or sqlite and display. But in this case mapping will be difficult.
- Save both image and text in SQLITE and display.
- Save the images in SD card and display from there.
Which approach should I choose. Or is there any other solution to it?
Aucun commentaire:
Enregistrer un commentaire