dave0805/08/2023, 1:06 PM
simon.vergauwen05/08/2023, 1:16 PM
close them when unusedNo, that sounds highly mutable and the
somehow needs to know when it goes out-of-scope.
which I've also ported, but have not bothered bringing to Arrow. It's to basically open and use
on rotation. https://github.com/nomisRev/arrow-fx-coroutines-utils/blob/main/src/commonMain/kotlin/io/github/nomisrev/Hotswap.kt
dave0805/08/2023, 1:22 PM
open and useIf I try to retreive this same resource from the map when it's closed, it'll re-open it?on rotation.
simon.vergauwen05/08/2023, 1:59 PM
has it's own
can listen to when it gets destroyed, right? I guess there could be some integration there, using
🤔 I am not familiar enough with Compose, and it's been a long time since I did Android but it might be possible.
that doesn't gets retriggered on recomposition, and supports suspend. Is there something like
where you can attach a
key (so it ignores recomposition) and can you then attach some listener to be invoked when they view gets destroyed? Then it should be possible
dave0805/08/2023, 2:01 PM