I am facing an issue with my custom class holding some data. That class is singleton i have many variables there holding my data.
But after some hours maybe 2 or 3 i got empty variables no values.
why is it happening?
if it is due to android default memory management then how to over come this problem ?
I have many background tasks which are depending on the singleton variables when variables are empty then all functionality of my application lost.