Ricardo C.
08/18/2020, 8:33 PMZach Klippenstein (he/him) [MOD]
08/18/2020, 8:39 PMrememberSavedInstanceState
, and then whatever navigation framework you’re using just needs to support that API.Ricardo C.
08/18/2020, 8:41 PMZach Klippenstein (he/him) [MOD]
08/18/2020, 9:04 PMIan Lake
08/18/2020, 10:13 PMRicardo C.
08/18/2020, 10:58 PMAdrian Blanco
08/19/2020, 9:17 AMStack
. Just curious if there are any ideas how a possible implementation might look.Zach Klippenstein (he/him) [MOD]
08/19/2020, 2:57 PMAdrian Blanco
08/19/2020, 4:44 PMZach Klippenstein (he/him) [MOD]
08/19/2020, 4:51 PMchange how UiSavedStateRegistry is providedWhy do you think this is necessary? It’s very possible to provide support for this already, and not that hard either.
Adrian Blanco
08/19/2020, 5:08 PMFlow<Screen>
to represent a currently active tab, the other tabs would not be in the composition tree so their state would not be saved/restored. When navigating to a new tab Compose wouldn't really automatically know then whether to start with a fresh state or try to restore a previous one afaik.Timo Drick
08/19/2020, 5:20 PMZach Klippenstein (he/him) [MOD]
08/19/2020, 5:34 PM