Instead of annotating a `List` parameter as `@Stab...
# compose
a
Instead of annotating a
List
parameter as
@Stable
, could I also just use an
ImmutableList
from https://github.com/Kotlin/kotlinx.collections.immutable ? Will Jetpack Compose understand?
s
Don’t remember where I read it but yes, it should infer it as stable.
a
Fantastic, thanks for the quick enlightenment guys 👍
❤️ 1
p
Wait the last time I checked you couldn't annotate a list parameter as stable