Skip to content

App closes when dabatase question overs . Help #13

@anshul0430

Description

@anshul0430

if (c2 == 0) {
for (i = 1; i < 50; i++) {
list.add(new Integer(i));

            }

            Collections.shuffle(list);

            c2=1;
        }
        Ques = Sports.readQuestion(list.get(j));
        Opta = Sports.readOptionA(list.get(j));
        Optb = Sports.readOptionB(list.get(j));
        Optc = Sports.readOptionC(list.get(j));
        Optd = Sports.readOptionD(list.get(j));
        global = Sports.readAnswer(list.get(j++));

    } 

If my database question are over then the app crashes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions