// Path: app/src/main/java/com/proxima/Wubble/AppGlobal.java
// public class AppGlobal extends Application {
// 
//     private static AppGlobal sAppInstance;
// 
// 
//     @Override
//     public void onCreate() {
//         super.onCreate();
//         sAppInstance = this;
//     }
// 
//     public static AppGlobal getInstance() {
//         return sAppInstance;
//     }
// 
//     public static Context getAppContext() {
//         return sAppInstance.getApplicationContext();
//     }
// 
// 
// }
// 
// Path: app/src/main/java/com/proxima/Wubble/Constants.java
// public static final String TMDB_API_KEY = "dc7176817ac527fc0d4f384f311f1cb7";


import android.widget.Toast;
import com.android.volley.Request;
import com.android.volley.RequestQueue;
import com.android.volley.Response;
import com.android.volley.VolleyError;
import com.android.volley.toolbox.JsonObjectRequest;
import com.android.volley.toolbox.Volley;
import com.proxima.Wubble.AppGlobal;
import org.json.JSONObject;
import static com.proxima.Wubble.Constants.TMDB_API_KEY;
package com.proxima.Wubble.network;





/**
 * Created by Epokhe on 08.03.2015.
 */
public class VolleySingleton {

    private static VolleySingleton sInstance = null;

    private boolean isTransferComplete = true;

    private JSONObject mTMDBConfig;

    private RequestQueue mRequestQueue;

    private VolleySingleton() {
        mRequestQueue = Volley.newRequestQueue(AppGlobal.getAppContext());
// Path: app/src/main/java/com/proxima/Wubble/AppGlobal.java
// public class AppGlobal extends Application {
// 
//     private static AppGlobal sAppInstance;
// 
// 
//     @Override
//     public void onCreate() {
//         super.onCreate();
//         sAppInstance = this;
//     }
// 
//     public static AppGlobal getInstance() {
//         return sAppInstance;
//     }
// 
//     public static Context getAppContext() {
//         return sAppInstance.getApplicationContext();
//     }
// 
// 
// }
// 
// Path: app/src/main/java/com/proxima/Wubble/Constants.java
// public static final String TMDB_API_KEY = "dc7176817ac527fc0d4f384f311f1cb7";


// Path: app/src/main/java/com/proxima/Wubble/network/VolleySingleton.java
import android.widget.Toast;
import com.android.volley.Request;
import com.android.volley.RequestQueue;
import com.android.volley.Response;
import com.android.volley.VolleyError;
import com.android.volley.toolbox.JsonObjectRequest;
import com.android.volley.toolbox.Volley;
import com.proxima.Wubble.AppGlobal;
import org.json.JSONObject;
import static com.proxima.Wubble.Constants.TMDB_API_KEY;

package com.proxima.Wubble.network;





/**
 * Created by Epokhe on 08.03.2015.
 */
public class VolleySingleton {

    private static VolleySingleton sInstance = null;

    private boolean isTransferComplete = true;

    private JSONObject mTMDBConfig;

    private RequestQueue mRequestQueue;

    private VolleySingleton() {
        mRequestQueue = Volley.newRequestQueue(AppGlobal.getAppContext());
        JsonObjectRequest configRequest = new JsonObjectRequest(Request.Method.GET, "http://api.themoviedb.org/3/configuration?api_key=" + TMDB_API_KEY, (JSONObject) null,