Peter
12/07/2023, 9:40 PMmutableIntStateOf()
instead of mutableStateOf<Int>()
. Why can't compose compiler do that conversion on it's own behind the hood?shikasd
12/07/2023, 9:46 PMromainguy
12/07/2023, 10:32 PMshikasd
12/08/2023, 2:08 AMromainguy
12/08/2023, 2:17 AMshikasd
12/08/2023, 3:23 AMromainguy
12/08/2023, 3:23 AMKarthick
12/12/2023, 5:34 PMshikasd
12/12/2023, 5:58 PMAndrew Bailey
12/12/2023, 6:36 PMMutableIntState
implements MutableState<Int>
(same goes for its other primitive friends), so it should be possible for us to convert to the specialized state types without introducing new or replacement animation APIs.
There's more going on with the animation APIs that make it so we can't just drop in the new interface and call it a day, but it's still on my mind. My attention has just been on other things lately 🙂