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