【发布时间】:2014-02-12 04:02:15
【问题描述】:
RequestQueue mRequestQueue = Volley.newRequestQueue(getApplicationContext());
mRequestQueue.add(new JsonObjectRequest(Method.GET, cityListUrl, null, new Listener<JSONObject>()
{
public void onResponse(JSONObject jsonResults)
{
//Any Call
}
}, new ErrorListener()
{
public void onErrorResponse(VolleyError arg0)
{
//Any Error log
}
}
));
这是我的请求呼叫,我想更改或设置请求的超时。到底有没有可能??
【问题讨论】:
标签: java android android-volley connection-timeout