Issue with Singleton
<p>I am new to Android development. We are currently trying to port our existing framework on to Android. We have a core library (existing one) which exposes a singleton instance which provides us a set of flags based on which certain operations are performed. Now when i perform certain operations and flags of the single instance are modified. When i exit the application and restart it, my expectation was that these flags should have been reset to the default values, but it fails.. :-(. Ive read in several posts that the reference would still be active until the application is killed by the OS. Can someone suggest me how to overcome this issue. Any work around?</p>
