Aug. 11, 2023, 10:37 a.m. | Maria Luíza

DEV Community dev.to


Hello, fantastic person on the internet! Hope you're doing well.


When migrating from XML to Compose, it can be difficult to understand certain concepts.


 





State


There is no way to update the UI after it has been drawn. What you can control is the state of your UI. When UI state changes, Compose reconstructs the components of the UI that have been altered.


 





Unidirectional Data Flow


Since composables accept states and expose events, the unidirectional data flow (UDF) pattern aligns …

android architecture beginners components concepts control hello internet jetpack kotlin person state xml

Data Architect

@ University of Texas at Austin | Austin, TX

Data ETL Engineer

@ University of Texas at Austin | Austin, TX

Lead GNSS Data Scientist

@ Lurra Systems | Melbourne

Senior Machine Learning Engineer (MLOps)

@ Promaton | Remote, Europe

Field Sample Specialist (Air Sampling) - Eurofins Environment Testing – Pueblo, CO

@ Eurofins | Pueblo, CO, United States

Camera Perception Engineer

@ Meta | Sunnyvale, CA