Lines Matching refs:answers
216 private String[] answers; field in MainActivity.Question
219 public Question(String question, int questionIndex, String[] answers, in Question() argument
223 this.answers = answers; in Question()
231 String[] answers = new String[JsonUtils.NUM_ANSWER_CHOICES]; in fromJson() local
233 answers[j] = answersJsonArray.getString(j); in fromJson()
236 return new Question(question, questionIndex, answers, correctIndex); in fromJson()
249 dataMap.putStringArray(ANSWERS, answers); in toPutDataRequest()
280 String[] answers = new String[4]; in addQuestion() local
281 answers[0] = choiceAEditText.getText().toString(); in addQuestion()
282 answers[1] = choiceBEditText.getText().toString(); in addQuestion()
283 answers[2] = choiceCEditText.getText().toString(); in addQuestion()
284 answers[3] = choiceDEditText.getText().toString(); in addQuestion()
287 addQuestionDataItem(new Question(question, mQuestionIndex++, answers, correctAnswerIndex)); in addQuestion()