Commit 0979a476 by xuqinghao

修复问卷做过有答案不显示的问题

parent 17cde0fc
......@@ -720,9 +720,12 @@ public class StuQuestionnaireMainActivity extends BaseActivity<StuQuestionnaire
@Override
public QuestionnaireQuestionAnswerBean getAnswerResult(int questionId) {
try {
if(idAnswerMap==null){
idAnswerMap = new ArrayMap<>(questionList.size());
}else{
return idAnswerMap.get(questionId);
}catch (NullPointerException e){
}
} catch (NullPointerException e) {
}
return null;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment