|
private var drawInvalidateTick by mutableStateOf(0) |
Could be replaced with
mutableStateOf(Unit, neverEqualPolicy()).
Though according to
this there is an internal
bug which I can't tell if it's already addressed.
If not,
mutableIntStateOf can be used instead.
|
private var drawableIntrinsicSize by mutableStateOf(drawable.intrinsicSize) |
Can also be replaced with
mutableLongStateOf but I'm not sure if it's worth it.