May 2022
Intermediate to advanced
688 pages
20h 12m
English
Currently, CriminalIntent can only display information about a single instance of Crime. In this chapter, you will update CriminalIntent to work with a list of crimes. The list will display each Crime’s title and date, as shown in Figure 10.1.
Figure 10.1 A list of crimes
Many aspects of the work you will complete in this chapter will feel familiar from the work you did in previous chapters. For example, much like you did in GeoQuiz, you will create a new ViewModel to encapsulate the data for the new screen. CrimeListViewModel will store a list of Crime objects.
Since this data will ...
Read now
Unlock full access