Nacho Ruiz Martin
11/12/2021, 2:44 PMAndroidView
to wrap up the traditional view components.
I’m using the update
lambda to make the needed adjustments in the view whenever the state changes. Is there a way to only set the properties that changed for real? If I just set everything that comes as parameter of the composable, they are all reset each time one of them changes. For example, if the text on a TextView changes, the TextAppearance is set again.
Thanks! 🙇Csaba Kozák
11/12/2021, 3:38 PMNacho Ruiz Martin
11/12/2021, 3:39 PMupdate
lambda of AndroidView
, right?Csaba Kozák
11/12/2021, 3:44 PMremember { mutableStateOf() }
and check if it’s still the same or not.Nacho Ruiz Martin
11/12/2021, 3:45 PMlhwdev
11/14/2021, 6:36 AM