Lines Matching refs:questionIndex
215 private int questionIndex; field in MainActivity.Question
219 public Question(String question, int questionIndex, String[] answers, in Question() argument
222 this.questionIndex = questionIndex; in Question()
227 public static Question fromJson(JSONObject questionObject, int questionIndex) in fromJson() argument
236 return new Question(question, questionIndex, answers, correctIndex); in fromJson()
241 return this.questionIndex - that.questionIndex; in compareTo()
245 PutDataMapRequest request = PutDataMapRequest.create("/question/" + questionIndex); in toPutDataRequest()
248 dataMap.putInt(QUESTION_INDEX, questionIndex); in toPutDataRequest()
343 int questionIndex = dataMap.getInt(QUESTION_INDEX); in onDataChanged()
345 updateQuestionStatus(questionIndex, questionCorrect); in onDataChanged()
349 int questionIndex = dataMap.getInt(QUESTION_INDEX); in onDataChanged()
350 markQuestionLeftBlank(questionIndex); in onDataChanged()
363 public void updateQuestionStatus(int questionIndex, boolean questionCorrect) { in updateQuestionStatus() argument
365 questionsContainer.getChildAt(questionIndex); in updateQuestionStatus()