@thestephanielau Hey people, I am Subhadip, an Android developer from India, persuing my engineering degree and also working as an Android Engineer Intern with keen interest in yech blogging.
Conclusion - XML is a complex but still powerful and flexible language that can be used to create beautiful and functional user interfaces. I prefer using both in my projects, as both have some pros and cons.
What you prefer, let me know below ⬇️
#AndroidDev#beginner#jetpack
Imperative versus Declarative
Using XML is known as an imperative approach. The programmer is focusing on how the user interface is displayed.
Compose uses declarative approach. This allows developers to focus more on the data and features rather than spending focus on design