Error in solution code (but not in book)


#1

In the downloaded solution code provided for Ch. 1 GeoQuiz, res/layout/activity_quiz.xml has this line:

<TextView android:id="@+id/question_text"

and it should be:

<TextView android:text="@string/question_text"

The question text was not appearing for me, and finally discovered this problem. The code is correct in the book.


#2

You are correct. Fixed!

You won’t see the fix in the solutions for a while - I have to talk to the guy who runs our site to update them, so I tend to wait until a batch of fixes is ready. That whole sequence needs a little love - I’ll see if I can’t put a little work into it after I get back from my vacation. (I’m at the beach right now.)