// Path: app/src/main/java/discovery/contentful/CFApp.java
// public class CFApp extends Application {
//   public static CFApp sInstance;
// 
//   @Override
//   public void onCreate() {
//     super.onCreate();
// 
//     sInstance = this;
//   }
// 
//   public static CFApp getInstance() {
//     return sInstance;
//   }
// }


import android.content.SharedPreferences;
import android.preference.PreferenceManager;
import discovery.contentful.CFApp;
package discovery.contentful.utils;


public class CFPrefs {
  private CFPrefs() {
  }

  public static final String KEY_SPACE = "SPACE";
  public static final String KEY_ACCESS_TOKEN = "TOKEN";
  public static final String KEY_DID_LOGIN = "DID_LOGIN";
  public static final String KEY_FIRST_LAUNCH = "FIRST_LAUNCH";

  public static SharedPreferences getInstance() {
// Path: app/src/main/java/discovery/contentful/CFApp.java
// public class CFApp extends Application {
//   public static CFApp sInstance;
// 
//   @Override
//   public void onCreate() {
//     super.onCreate();
// 
//     sInstance = this;
//   }
// 
//   public static CFApp getInstance() {
//     return sInstance;
//   }
// }


// Path: app/src/main/java/discovery/contentful/utils/CFPrefs.java
import android.content.SharedPreferences;
import android.preference.PreferenceManager;
import discovery.contentful.CFApp;

package discovery.contentful.utils;


public class CFPrefs {
  private CFPrefs() {
  }

  public static final String KEY_SPACE = "SPACE";
  public static final String KEY_ACCESS_TOKEN = "TOKEN";
  public static final String KEY_DID_LOGIN = "DID_LOGIN";
  public static final String KEY_FIRST_LAUNCH = "FIRST_LAUNCH";

  public static SharedPreferences getInstance() {
    return PreferenceManager.getDefaultSharedPreferences(CFApp.getInstance());