I am a little confused about the code on page 108. If I implement private boolean mIsCheater; like that, I get crash if I try to cheat at the first question. Of course, as mIsCheater hat no value after the app starts. Pushing the NextButton sets it to “false” (page 109).
Is this a typo, or did I do something wrong? I changed the declaration to private boolean mIsCheater = false; This works fine.