// 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.Context;
import discovery.contentful.CFApp;
import discovery.contentful.R;
import com.contentful.java.cda.CDAClient;
package discovery.contentful.api;


public class CFDiscoveryClient {
  private static CDAClient sInstance;

  private CFDiscoveryClient() {
  }

  public static CDAClient getClient() {
    if (sInstance == null) {
// 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/api/CFDiscoveryClient.java
import android.content.Context;
import discovery.contentful.CFApp;
import discovery.contentful.R;
import com.contentful.java.cda.CDAClient;

package discovery.contentful.api;


public class CFDiscoveryClient {
  private static CDAClient sInstance;

  private CFDiscoveryClient() {
  }

  public static CDAClient getClient() {
    if (sInstance == null) {
      Context context = CFApp.getInstance();