类的使用
com.android.volley.RequestQueue
使用RequestQueue的程序包
-
com.android.volley中RequestQueue的使用
参数类型为RequestQueue的com.android.volley中的方法修饰符和类型方法说明Request<?>Request.setRequestQueue(RequestQueue requestQueue) Associates this request with the given queue. -
com.android.volley.toolbox中RequestQueue的使用
修饰符和类型方法说明static RequestQueueVolley.newRequestQueue(android.content.Context context) Creates a default instance of the worker pool and callsstart()on it.static RequestQueueVolley.newRequestQueue(android.content.Context context, HttpStack stack) Creates a default instance of the worker pool and callsstart()on it.参数类型为RequestQueue的com.android.volley.toolbox中的构造器限定符构造器说明ImageLoader(RequestQueue queue, ImageLoader.ImageCache imageCache) Constructs a new ImageLoader.