public class Volley
extends java.lang.Object
| Constructor and Description |
|---|
Volley() |
| Modifier and Type | Method and Description |
|---|---|
static RequestQueue |
newRequestQueue(android.content.Context context,
BaseHttpStack stack)
Creates a default instance of the worker pool and calls
RequestQueue.start() on it. |
public static RequestQueue newRequestQueue(android.content.Context context, BaseHttpStack stack)
RequestQueue.start() on it.
This method has been modified from the original due to MoPub only supporting APIs
equal to and above 16.context - A Context to use for creating the cache dir.stack - A BaseHttpStack to use for the network, or null for default.RequestQueue instance.