Bumble Tech
Published in

Bumble Tech

Scalable Jetpack Compose Navigation

Introduction

What is Jetpack Compose navigation?

Google’s approach to Jetpack Compose navigation

  • A NavHost needs to be defined within the Composable that is the host for navigation.
  • Within this NavHost each route is defined using the composable function.
  • The composable function takes a string parameter that defines the route, and any arguments that appear within the string. It is also able to modify the navigation behaviour using familiar concepts such as SingleTop, and to manipulate the navigation stack when navigating (i.e. popTo).

Consequences of Google’s Compose navigation approach

Scaling Jetpack Compose Navigation with Dagger Hilt

Bringing all this together

Going forward

Conclusion

--

--

We’re the tech team behind social networking apps Bumble and Badoo. Our products help millions of people build meaningful connections around the world.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store