My app makes use of a singleton object implemented like this
enum MySingleton extends Something{
INSTANCE{}
<a bunch of attributes declared here>
public void method1();
public void method2();
(...)
}
What I've watched is after my app is closed and I run the app again, my singleton attributes weren't reset
Because I'm using this pattern's implementation from Java 6 (if I'm not wrong), can I say this is equivalent to the private static singleton implementation from the previous Java releases, and in this I have to manually reset his state inside app's onDestroy()?