SeikoDes
06/07/2022, 8:30 AMcomposable
based on chris’s article, and then I found out that painter is unstable, resulting in some composable
being non-skippable, Why can’t add @Immutable or @Stable to painter and How to change composable with a painter parameter to skippable?
restartable scheme("[androidx.compose.ui.UiComposable]") fun NormalImage(
unstable painter: Painter
stable contentDescription: String?
stable modifier: Modifier? = @static Companion
stable tint: Color = @dynamic LocalContentColor.current
)
myanmarking
06/07/2022, 8:37 AMTlaster
06/07/2022, 8:54 AMZach Klippenstein (he/him) [MOD]
06/07/2022, 3:32 PM@Stable
came around, so it was too late to change its contract by then.