Android Programming: The Big Nerd Ranch Guide, 5th Edition
by Bryan Sills, Brian Gardner, Kristin Marsicano, Chris Stewart
Performing Navigation
Few apps are composed of a single screen. As apps add new features, developers create new screens to house those features. And managing how users navigate through an individual app is a difficult task. There might be many paths a user could take as they navigate deeper into your app.
The Navigation component in the Jetpack libraries helps you define screens and paths between them and then gives you the tools to perform that navigation. At its core, the library relies on a navigation graph, which defines a group of screen destinations as well as the paths between destinations. The navigation graph is contained in an XML file, and Android Studio provides a handy graphical tool for editing it.
At the end of this ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access