Static variable loses value
<p>I'm facing an issue regarding a static variable that i'm am using all over my project(it contains some fields from a file). The variable loses her value in some cases, not always.
I have read about the life cycle of a static variable , that she loses the value in 3 cases : </p>

<p>1) Class is unloaded.</p>

<p>2) JVM shuts down.</p>

<p>3) The process dies.</p>

<p>So I have a question : Isn't enough to rewrite activities onResume and parse the file again and feed the static variable again if it is null?</p>
