ProAndroidDev

The latest posts from Android Professionals and Google Developer Experts.

Follow publication

Member-only story

Add Chrome Custom Tabs to the Android Jetpack Navigation Component

Extending Jetpack’s ability to navigate anywhere

Oliver Spryn
ProAndroidDev
Published in
8 min readJun 20, 2019
A view of New York City from space

With the introduction of Android Jetpack, developers now have a marvelous new set of libraries which offer an unprecedented level of simplicity and reusability. Before Jetpack’s debut, fragment and activity-based navigation often proved to be complicated, fragile, and nearly unique to each app on the market. Google has heard our pleas for help and given us the Navigation Component.

Current State of the Navigation Component

Since the preliminary release of the navigation component in May 2018, much of its functionality has improved, changed, and expanded. As of November 2021, the current state of this library offers native support for these destination types:

  • Fragments
  • Activities
  • DialogFragments

Support for Chrome Custom Tabs (CCT) is a notable omission from this list. Fortunately, since CCT is similar enough in behavior to activities, it is not a significant lift to add in support for this destination type.

Getting Our Thinking Straight

Create an account to read the full story.

The author made this story available to Medium members only.
If you’re new to Medium, create a new account to read this story on us.

Or, continue in mobile web

Already have an account? Sign in

Published in ProAndroidDev

The latest posts from Android Professionals and Google Developer Experts.

Written by Oliver Spryn

Lead Android Architect at UPMC Enterprises • Instructor • Content Creator • https://oliverspryn.com/

No responses yet