May 2022
Intermediate to advanced
688 pages
20h 12m
English
In this chapter, you will get the list and the detail parts of CriminalIntent working together. Using the Navigation Jetpack library, you will define the screens your users will be able to see and how your users can move between them.
When a user presses an item in the list of crimes, the Navigation library will swap out CrimeListFragment with a new instance of CrimeDetailFragment displaying the details for the crime that was pressed (Figure 13.1).
Figure 13.1 Swapping CrimeListFragment for CrimeDetailFragment
To get this working, you will learn how to implement navigation using the Jetpack Navigation ...
Read now
Unlock full access