类 Volley
java.lang.Object
com.android.volley.toolbox.Volley
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static RequestQueuenewRequestQueue(android.content.Context context) Creates a default instance of the worker pool and callsRequestQueue.start()on it.static RequestQueuenewRequestQueue(android.content.Context context, HttpStack stack) Creates a default instance of the worker pool and callsRequestQueue.start()on it.
-
构造器详细资料
-
Volley
public Volley()
-
-
方法详细资料
-
newRequestQueue
Creates a default instance of the worker pool and callsRequestQueue.start()on it.- 参数:
context- AContextto use for creating the cache dir.stack- AnHttpStackto use for the network, or null for default.- 返回:
- A started
RequestQueueinstance.
-
newRequestQueue
Creates a default instance of the worker pool and callsRequestQueue.start()on it.- 参数:
context- AContextto use for creating the cache dir.- 返回:
- A started
RequestQueueinstance.
-