AndBase开发框架  1.6
 全部  命名空间 文件 函数 变量 枚举值 
静态 Public 成员函数 | 静态 Private 属性 | 所有成员列表
com.ab.network.toolbox.Volley类 参考

静态 Public 成员函数

static RequestQueue newRequestQueue (Context context, HttpStack stack)
 
static RequestQueue newRequestQueue (Context context)
 

静态 Private 属性

static final String DEFAULT_CACHE_DIR = "andbase"
 

成员函数说明

static RequestQueue com.ab.network.toolbox.Volley.newRequestQueue ( Context  context,
HttpStack  stack 
)
inlinestatic

Creates a default instance of the worker pool and calls RequestQueue#start() on it.

参数
contextA Context to use for creating the cache dir.
stackAn HttpStack to use for the network, or null for default.
返回
A started RequestQueue instance.
static RequestQueue com.ab.network.toolbox.Volley.newRequestQueue ( Context  context)
inlinestatic

Creates a default instance of the worker pool and calls RequestQueue#start() on it.

参数
contextA Context to use for creating the cache dir.
返回
A started RequestQueue instance.

类成员变量说明

final String com.ab.network.toolbox.Volley.DEFAULT_CACHE_DIR = "andbase"
staticprivate

Default on-disk cache directory.


该类的文档由以下文件生成: