Searched refs:correctAnswerIndex (Results 1 – 2 of 2) sorted by relevance
216 private int correctAnswerIndex; field in MainActivity.Question219 int correctAnswerIndex) { in Question() argument223 this.correctAnswerIndex = correctAnswerIndex; in Question()249 dataMap.putInt(CORRECT_ANSWER_INDEX, correctAnswerIndex); in toPutDataRequest()281 int correctAnswerIndex = radioIdToIndex.get(choicesRadioGroup.getCheckedRadioButtonId()); in addQuestion() local283 addQuestionDataItem(new Question(question, mQuestionIndex++, answers, correctAnswerIndex)); in addQuestion()
110 int correctAnswerIndex = dataMap.getInt(CORRECT_ANSWER_INDEX); in onDataChanged() local135 boolean correct = (i == correctAnswerIndex); in onDataChanged()