这是我的代码,在黑莓中运行良好并获得 3 个显示在 textview 中的响应,但是当我在 android 中使用此代码时,只显示 1 次而不是 3 次,所以我如何使用 1 个文本视图打印 3 次结果?
for (int x = 7; x <= xmlRespone.length - 1; x = x + 3) {
TextView lblTransactionDate =
(TextView) findViewById(R.id.lblTransactionDate);
lblTransactionDate.setText("Transaction
Date : "+ xmlRespone[x][1]);
lblTransactionDate.setTextColor(getResources().getColor
(R.color.text_color_slateblue));
TextView lblAmount = (TextView)
findViewById(R.id.lblAmount);
lblAmount.setText("Amount : " +
xmlRespone[x + 1][1]);