Advanced navigation app examples

Combine everything you've learned in this unit about navigation, view model, data binding, and live data by building a more advanced app that also includes custom back stack behavior.


Cupcake app introduction

Video Optional

Get an introduction to the Cupcake app you will be creating in this pathway.

Shared ViewModel


Build a cupcake ordering app, and use a shared ViewModel to share data between the fragments of the same activity.

Navigation and the backstack


Manipulate the back stack in a custom way by modifying the Cupcake app so that the user can cancel a cupcake order.

Project: Lunch Tray app


Apply what you've learned in this unit to complete a food ordering app by implementing a ViewModel with data binding, and adding navigation between fragments.


Test your knowledge and earn your Advanced navigation app examples badge.