2.1 Introduction
Providing an overview of Jetpack Compose
Unlike Native Android, which is covered in the chapters up until this point, Jetpack Compose uses purely Kotlin without XML layout files. You may be wondering how Jetpack Compose achieves this while knowing where to arrange the components. The secret lies in the building blocks of Jetpack Compose: Composable Functions. Instead of using activities and fragments as we would in Native Android, instead everything we want the users to see is annotated with an @Composable tag. This allows users to define their UI programmatically rather than worrying about the semantics of UI construction.
Last updated