https://kotlinlang.org logo
#compose
Title
# compose
p

Peter

11/29/2023, 7:27 PM
Is there a way to access the current lifecycle state inside the Modifier Node?
I want to execute some logic, when state goes to started/resumed
z

Zach Klippenstein (he/him) [MOD]

11/29/2023, 7:28 PM
implement
CompositionLocalConsumerModifierNode
, read
LocalLifecycleOwner
p

Peter

11/29/2023, 7:29 PM
Will take a look. Thanks.
2 Views