title: How to use Shared preferences in singleton of other class which not include context?
body: <p>I got a singleton. In methods of this singleton i need to get access to shared preferences. How I can do that?</p>
  
  <pre><code>public class SubscriptionManager {
  private static SubscriptionManager instance = null;
  private SubscriptionManager() {}
  private SharedPreferences mPrefs;
  
  public static SubscriptionManager getInstance() {
      if (instance == null)
          instance = new SubscriptionManager();
      return instance;
  }
  
  public void setFreeOpenSubscription(){
      //here i need to write something like
      // String type = mPrefs.getValue("type");
  }
  </code></pre>
  
  <p>}</p>