GeoQuiz does not display text of the first question


Hi. I have tried to run GeoQuiz on my Android phone and it does not display the first question, I can see it just after full cycle of questions. Is it my fault?

private TextView mQuestionTextView;
private Question[] mQuestionBank = new Question[] {
        new Question(R.string.question_oceans, true),
        new Question(R.string.question_mideast, false),
        new Question(R.string.question_africa, false),
        new Question(R.string.question_americas, true),
        new Question(R.string.question_asia, true),
private int mCurrentIndex = 0;
private void updateQuestion() {
    int question = mQuestionBank[mCurrentIndex].getTextResId();
    mQuestionTextView = (TextView)findViewById(;

I think you forget to call updateQuestion() at the end of onCreate Method.


Yes, you are right, looks I was inattentive with checking code. Thank you very much for your help!