Is there any way to avoid static data loss in Android if device is kept idle ?
I am having static object which will store some values from activity UI. If device is kept idle for 4-5 hours that static object will be removed to use memory for other running applications.
If I am doing it wrong, is there any other way to avoid this ?