https://kotlinlang.org logo
c

chris

07/23/2020, 7:45 PM
When working with state on a mutable object even if I tell the state that it is
NeverEqual
to invoke the comparison of the objects to trigger a recompose I still have to call the setter. So I end up assigning the object to itself. Am I missing another way to do this?
z

Zach Klippenstein (he/him) [MOD]

07/23/2020, 7:46 PM
There’s the
Recompose
composable or you can get a function reference from the
invalidate
property to force a recompose.
c

chris

07/23/2020, 8:14 PM
Got it! Thanks!