Commit 58c15e2b27fe307a02bb7f1d946d757e63df4e9b
1 parent
eab052eaa4
Exists in
master
作业反馈无错题时隐藏错题评估
Showing
1 changed file
with
3 additions
and
0 deletions
Show diff stats
app/src/main/java/com/hjx/parent/HomeworkFeedbackActivity.java
... | ... | @@ -67,6 +67,9 @@ public class HomeworkFeedbackActivity extends BaseRxActivity<ActivityHomeworkFee |
67 | 67 | binding.rvCorrect.setAdapter(numberAdapter); |
68 | 68 | binding.rvError.setVisibility(errorList.isEmpty() ? View.GONE : View.VISIBLE); |
69 | 69 | binding.rvError.setAdapter(new EvalAdapter(errorList)); |
70 | + if (errorList.isEmpty()) { | |
71 | + binding.flEval.setVisibility(View.GONE); | |
72 | + } | |
70 | 73 | |
71 | 74 | binding.btnDetail.setOnClickListener(v -> { |
72 | 75 | viewTopicDetail(0); | ... | ... |