【发布时间】:2014-10-30 10:48:54
【问题描述】:
我想多次重复截击请求。
类似于:
For (int i=0;i<10;i++){
RequestA{
TextView.setText(TextView.getText + JsonArray[i].toString);
}
}
当我运行程序时,FOR 循环 10 次,但 Volley 请求只有一次 i=9,所以在 TextView 中只打印 JsonArray[i=9] 的内容。
所以我的问题是:为什么 Volley Request 也没有循环 10 次?
【问题讨论】:
标签: loops for-loop request android-volley