Temporary Data Storage In Android?
I want to get information from database only one time per day instead of hitting every time and i have to maintain that information like session.Currently i have planned to use Sha
Solution 1:
I think the option Sharedprefence is the best. But the valuse will be cleared when clearing the app data! so include some code to check the existance of sharedpreference values. if not existing, then restore them back by collecting data from your DB.. so you have to hit your DB rarely as user does it rarely!
Post a Comment for "Temporary Data Storage In Android?"