Nav3: fix Lifecycle for overlaid nav keys

This is a post in a series on how I tackled Nav3 concepts and wired things together. Dialogs are modeled as an overlay scene; the destination behind the screen must remain rendered. Right now, its lifecycle stays resumed. That creates a number of practical challenges and problems: The last issue caught me off guard. dropUnlessResumed … Read more

Nav3: Draggable Sheet

This is a post in a series on how I tackled Nav3 concepts and wired things together. I needed a sheet that can be closed by dragging it down – it surprised me a bit that the implementation isn’t that difficult. It uses the overlay scene concept and a few basic helpers from the Compose … Read more

Nav3: ModalBottomSheet

This is a post in a series on how I tackled Nav3 concepts and wired things together. There is no Nav3 bottom sheet implementation yet, so this is a quick post on how to create a scene/scene strategy, including the latest “enhancement” from the (yet unreleased) 1.1.0-alpha04 version that fixes the missing animation when popping … Read more

Does Jetpack Navigation meet Type Safety?

You may have heard that Jetpack Navigation has a new API for type-safe navigation. This new official solution brings navigation with a “destination object” instead of simple manual URL building. Previously, I developed kiwicom/navigation-compose-typed library that did the same and was an inspiration for the official solution. The official solution makes navigation easier than before, … Read more