public class AppController
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
TAG |
| Constructor and Description |
|---|
AppController(android.content.Context context) |
| Modifier and Type | Method and Description |
|---|---|
<T> void |
addToRequestQueue(com.android.volley.Request<T> req) |
<T> void |
addToRequestQueue(com.android.volley.Request<T> req,
java.lang.String tag) |
void |
cancelPendingRequests(java.lang.Object tag) |
static AppController |
getInstance(android.content.Context context) |
com.android.volley.RequestQueue |
getRequestQueue() |
void |
init() |
public void init()
public static AppController getInstance(android.content.Context context)
public com.android.volley.RequestQueue getRequestQueue()
public <T> void addToRequestQueue(com.android.volley.Request<T> req,
java.lang.String tag)
public <T> void addToRequestQueue(com.android.volley.Request<T> req)
public void cancelPendingRequests(java.lang.Object tag)