hfhbd
01/22/2022, 11:43 AMBackHandler
and mutableState
, do you still use Google androidx navigation library or simple a state based approach?Paul Weber
01/22/2022, 12:30 PMIan Lake
01/22/2022, 10:40 PMLifecycleOwner
scoped to each screen (e.g., for scoping the collecting of Flows that are Lifecycle aware)
• Out of the box support for rememberSaveable
at a screen by screen basis
• Full recovery of state after configuration changes or process death and recreation
• Support for ViewModels and injection via Hilt ViewModels
• Built in support for handling deep links
• Extensibility to allow for dialogs, bottom sheets, etc. with all the same benefits as full screen destinations
• Support for controlling the transitions between screens (via Accompanist Navigation at the moment)