Conclusion

In this lesson, you’ve learned about the commonly used components that Jetpack Compose ships with and saw how you should think about your UI as a composition of components and break it down into smaller components for reuse and consolidation of concerns. You learned:

  • How to display images in your UI using the Image component.
  • The different types of drawables, supported by the painterResource field of the Image component.
  • The different variants of buttons available in compose.
  • How to use the switch composable.
  • How to think about UI as a union of smaller components and how to break up a screen into smaller composables that can be reused.
See forum comments
Download course materials from Github
Previous: Demo Next: Quiz: Leverage Components