Errata in this chapter


I noticed two errors in this chapters examples.

In Listing 5.1, the string “warning_text” is used, but in Listing 5.2 the layout refers to warning_text_view.
In Listing 5.10, mAnswerKey is referenced, but this should be mQuestionBank from previous chapters.


Thanks for noticing! I think we’ve already got those two accounted for in the Errata thread. Let us know if you spot anything else!


Not sure if this counts as errata, but using the downloaded Ch5 project crashes if you click Cheat, rotate to landscape, and hit the back button. From following the book all the way from chapter 1 to 5, my project doesn’t do this; only the downloaded version does this.