...
|
...
|
@@ -369,6 +369,12 @@ public class a extends BaseMvpActivity<CommonPresenter, ExerciseModel> implement |
|
|
listAnswer.setAdapter(optionsAdapter);
|
|
|
optionsAdapter.notifyDataSetChanged();
|
|
|
|
|
|
if (listIndex == questionLst.size() - 1) {
|
|
|
Toast.makeText(this, "当前已是最后一题", Toast.LENGTH_SHORT).show();
|
|
|
tvShowCard.setVisibility(View.GONE);
|
|
|
commit.setVisibility(View.VISIBLE);
|
|
|
}
|
|
|
|
|
|
|
|
|
if (!historyAnswer.get(listIndex).equals("0")) {
|
|
|
optionsAdapter.setSelect(historyAnswer.get(listIndex));
|
...
|
...
|
@@ -460,7 +466,9 @@ public class a extends BaseMvpActivity<CommonPresenter, ExerciseModel> implement |
|
|
}
|
|
|
|
|
|
listIndex++;
|
|
|
doRefresh(true);
|
|
|
|
|
|
doRefresh(true);
|
|
|
// doRefresh(true);
|
|
|
|
|
|
} else if (listIndex == questionLst.size() - 1) {
|
|
|
Toast.makeText(this, "当前已是最后一题", Toast.LENGTH_SHORT).show();
|
...
|
...
|
|