shikasd
07/23/2020, 10:30 PMZach Klippenstein (he/him) [MOD]
07/23/2020, 10:38 PMUiSavedStateRegistry
(ie. using savedInstanceState
), then you can stop composing it and restore it later.onSaveInstanceState
– scroll views save their scroll position here, then when they’re restored, they read it back.shikasd
07/23/2020, 10:41 PMUiSavedStateRegistry
in compose-router
and such, thanks 🙂Zach Klippenstein (he/him) [MOD]
07/23/2020, 10:43 PMshikasd
07/23/2020, 10:45 PMZach Klippenstein (he/him) [MOD]
07/23/2020, 10:47 PMshikasd
07/23/2020, 10:48 PMTimo Drick
07/23/2020, 11:01 PMZach Klippenstein (he/him) [MOD]
07/23/2020, 11:07 PMTimo Drick
07/23/2020, 11:08 PMromainguy
07/23/2020, 11:11 PMTimo Drick
07/23/2020, 11:14 PMZach Klippenstein (he/him) [MOD]
07/23/2020, 11:15 PMromainguy
07/23/2020, 11:25 PMshikasd
07/23/2020, 11:26 PMI have an idea for that using subcomposition i want to play with at some point, where e.g. the image composable actually becomes the new screen so you don’t need any “shared element” stuffHad a similar idea in mind, but it may be easier to get this done in compose terms 🙂
Timo Drick
07/23/2020, 11:27 PMZach Klippenstein (he/him) [MOD]
07/23/2020, 11:51 PMLeland Richardson [G]
07/24/2020, 1:42 AMmolikto
07/24/2020, 2:54 AMZach Klippenstein (he/him) [MOD]
07/24/2020, 3:32 AMnow seems an entire scene is an RenderNodeI don’t think that’s true. I believe every “layer” in Compose is backed by a
RenderNode
, and a layer is created any time you use something like the drawLayer
modifier, or the upcoming withLayer
API.molikto
07/24/2020, 3:52 AMromainguy
07/24/2020, 3:56 AMZach Klippenstein (he/him) [MOD]
07/24/2020, 4:12 AMromainguy
07/24/2020, 4:17 AMZach Klippenstein (he/him) [MOD]
07/24/2020, 4:18 AMromainguy
07/24/2020, 6:33 AMZach Klippenstein (he/him) [MOD]
07/24/2020, 1:05 PMromainguy
07/24/2020, 3:00 PM