public static List<QuizQuestion> matchlist;
ArrayList<QuizQuestion> quest;
JSONObject Question = (new JSONObject(jstring))
.getJSONObject("");
Integer length = Question.length();
quest = new ArrayList<QuizQuestion>(length);
quizquestion = new QuizQuestion();
quizquestion = new QuizQuestion();
for (int i = 0; i < length; i++) {
quizquestion = new QuizQuestion();
//all the code.
quest.add(i, quizquestion);
}
Global.setMatchlist(quest);
No comments:
Post a Comment