form is quite annoying. And if you say so, then it is of no use to remember that lambda, because its actual type is still unstable, thus causing recomposition as well.
e
eygraber
05/25/2023, 12:26 AM
Remembering it should work since it will then pass the equality check
l
Loney Chou
05/25/2023, 12:31 AM
I don't know why these lambdas don't get remembered properly like others. Isn't a compiler-generated remember(coroutineScope) { { coroutineScope.launch { /* ... */ } } } enough?
Then why? 😇 I mean, if you create another lambda instance, the stability won't magically change, so there's no point to not