9Displaying Lists with ListFragment
CriminalIntent’s model layer currently consists of 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 and whether the case has been solved.
Figure 9.1 A list of crimes
Figure 9.2 shows the overall plan for CriminalIntent in this chapter.
Figure 9.2 CriminalIntent with a list of crimes
In the model layer, you have a new object, CrimeLab, that will be a centralized data stash that stores Crime objects.