I am displaying a profile photo inside an image view, which is pulled along with user detail from a website with Volley Post request. I am working on offline preview feature (which will display profile data with profile image offline for all searched history)
And I am not sure, what is the best way to do that:
- By saving encoded string in SQLite db and pull and decode when needed?
- By saving decoded image on Phone OR SD card memory?
It would be great if someone also shares pros and cons (like performance and resources issues) for both cases.