Challenge: Add a Previous Button

Add a button that the user can press to go back one question. The UI should look something like Figure 2.13.

Figure 2.13  Now with a previous button!

Now with a previous button!

This is a great challenge. It requires you to retrace many of the steps in these two chapters.

Get Android Programming: The Big Nerd Ranch Guide, 4th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.