Google 致力于为黑人社区推动种族平等。查看具体举措

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

视频 可选

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.


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