2
Android and Model-View-Controller

In this chapter, you are going to upgrade GeoQuiz to present more than one question, as shown in Figure 2.1.

Figure 2.1  Next!

Next!

To make this happen, you are going to add a data class named Question to the GeoQuiz project. An instance of this class will encapsulate a single true/false question.

Then, you will create a collection of Question objects for MainActivity to manage.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.138.141.202