Olivier Patry
08/17/2023, 1:20 PMbindFactory
.
FTR: I'm in the context of a Jvm Desktop application, unrelated to Android.
I try to keep alive an object bound to a screen, this object is created with bindFactory
taking a parameter specific to the screen being navigated to.
So far, I had no issue, but when moving my window from one screen to another, the whole screen logic was re-triggered (Compose for Desktop context), and thus calling again bindFactory
, how can I reuse the previously created object?Carlton Whitehead
08/17/2023, 2:49 PMOlivier Patry
08/17/2023, 3:22 PMOlivier Patry
08/18/2023, 7:21 AM