oday
10/03/2022, 7:11 PM"recomposition is the process of removing all of the views on the screen > going over your code again > depending on state > adding different views to the screen"
?oday
10/03/2022, 7:12 PMCasey Brooks
10/03/2022, 7:23 PM@Composable
code again, and intelligently deciding which functions can be skipped or need to be executed again because the data has changed. It’s decidedly not removing all views and recreating them, but selectively updating the attributes of the views that are already there.
The end result is much the same as if you were to completely remove and replace your entire UI each frame as far as the programming model is concerned, but the technical “recomposition” process is much more optimized and efficient than truly removing and recreating all views.oday
10/04/2022, 8:07 AMZach Klippenstein (he/him) [MOD]
10/04/2022, 11:03 AM