作者 qin

练习答题修改

... ... @@ -460,7 +460,7 @@ public class a extends BaseMvpActivity<CommonPresenter, ExerciseModel> implement
if (TextUtils.isEmpty(selectAnswer)) {
if (listIndex > historyAnswer.size() - 1) {
wrongCount++;
// wrongCount++;
statusList.set(listIndex, 0);
}
}
... ... @@ -485,11 +485,11 @@ public class a extends BaseMvpActivity<CommonPresenter, ExerciseModel> implement
case R.id.commit:
if (listIndex > historyAnswer.size()) {
if (TextUtils.isEmpty(selectAnswer)) {
wrongCount++;
// wrongCount++;
}
} else if (listIndex == questionLst.size() - 1) {
if (TextUtils.isEmpty(selectAnswer)) {
wrongCount++;
// wrongCount++;
}
}
Intent intent = new Intent(this, AnswerResultActivity.class);
... ...
... ... @@ -623,16 +623,16 @@ public class b extends BaseMvpActivity<CommonPresenter, ExerciseModel> implement
if (TextUtils.isEmpty(selectAnswer)) {
if (listIndex > historyAnswer.size() - 1) {
unDone++;
wrongCount++;
// wrongCount++;
statusList.set(listIndex, 0);
} else if (listIndex <= questionLst.size() - 1) {
if (type.contains("单选")) {
/* if (type.contains("单选")) {
danxuanWrong++;
} else if (type.contains("判断")) {
panduanWrong++;
} else if (type.contains("多选")) {
duoxuanWrong++;
}
}*/
}
}
... ...
... ... @@ -4,7 +4,6 @@
android:layout_height="wrap_content">
<TextView
android:layout_marginLeft="@dimen/dp_15"
android:id="@+id/content"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
... ...