Who is this for?
This course is for Android developers who are interested in getting an early start with the Developer Preview of the Jetpack Compose toolkit from Google for building user interfaces in Kotlin code. It expects you to be familiar with the basics of Android development, Android Studio, and Kotlin programming.
- Composable functions
- Compose preview
- Compose layouts
- Flexible rows
- Using @model for state
- Adding an App Bar
- Showing a list of items using Compose
Part 1: Jetpack Compose Primer
Learn about the origins of the new modern toolkit for building Android UI, Jetpack Compose, including comparisons with Flutter and SwiftUI.
See the sample project that will be built using Jetpack Compose, and explore and run the starter project.
Use the @composable annotation to write your first composable function, and learn about MaterialTheme.
See how to preview your Jetpack Compose user interfaces right in Android Studio, without the need to build and run your app on a device or emulator.
Build a Row
Use Row to place separate items along a horizontal axis, and also learn about using images, containers, alignment, and spacing.
Use a Flex Row
Switch to FlexRow for greater control over how the items in a horizontal layout expand to fill the available horizontal space.
See how to manage state in your Jetpack Compose user interfaces using the Model annotation, and display real data in the running app.
Add an AppBar
Refactor the members screen to a more standard set of composable functions, then add a TopAppBar to the layout.
Show a List
See how to use VerticalScroller and Column to display multiple items in a list, and add a divider between the items.