Modifier.align(Alignment.TopStart)) Text("B", modifier = Modifier.align(Alignment.Center)) Text("C", modifier = Modifier.align(Alignment.BottomEnd)) } } A B C
that can change and affect the UI of your app. • State is any value that can change over time. • Update UI by calling same composable with new arguments.
takes place. • Whenever state changes, whoever is consuming state is recomposed. • Triggered By Events : Changes to state variables, user input, or other events trigger recomposition, • Only rebuild the parts of the UI that are affected by the changes. instead of calling whole function. Event Composable UI-Redraw