title: Android, Singleton, context
body: <p>I am stuck in a problem. I am creating a helper class that needs to be Singleton. And that class has a global context variable. I am not able to do this since context is available only from onCreate and this Singleton instance is created much before since it is static. </p>
  
  <p>Can someone help me on how to solve this issue. Context is needed for the Singleton instance finally. </p>
  
  <pre><code>public class Helper { 
  
    private static Helper sHelper = new Helper() ; 
    private Helper () {} ; 
    public static Helper getInstance() { 
         return sHelper;
    } 
  
    public boolean doSomething() {
       mContext.getContentResolver; 
       return isDone;
   }
  }
  </code></pre>