且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

使用Android片段中的Volley从url解析json

更新时间:2021-07-23 05:45:03

您错过了将请求加入队列的调用.在您的 Fragment 中的 return view 之前 添加此行:

You are missing the call to en-queue the request. Add this line before the return view in your Fragment :

rq.add(stringRequest );