Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/loops/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Loops 循环截击请求_Loops_For Loop_Request_Android Volley - Fatal编程技术网

Loops 循环截击请求

Loops 循环截击请求,loops,for-loop,request,android-volley,Loops,For Loop,Request,Android Volley,我想重复多次截击请求。 类似于: For (int i=0;i<10;i++){ RequestA{ TextView.setText(TextView.getText + JsonArray[i].toString); } } For(int i=0;i我不知道如何使用截击。但是,我相信截击确实循环了10次。之所以只看到JsonArray[i=9],是因为您正在重写textView中的值。请尝试使用log获取值并从logcat读取,而不是使用textView

我想重复多次截击请求。
类似于:

For (int i=0;i<10;i++){

RequestA{
TextView.setText(TextView.getText + JsonArray[i].toString);
}

}

For(int i=0;i我不知道如何使用截击。但是,我相信截击确实循环了10次。之所以只看到JsonArray[i=9],是因为您正在重写textView中的值。请尝试使用log获取值并从logcat读取,而不是使用textView