Jetpack Compose by Étienne Caron

Jetpack Compose by Étienne Caron

by Étienne Caron, Google Developer Expert, Shopify

Jetpack Compose is an unbundled toolkit designed to simplify UI development that was released at Google I/O 19. It combines a reactive programming model with the conciseness and ease of use of the Kotlin programming language.

https://gdgmontreal.com/2019/05/20/google-i-o-special-event/

1b77dd441f657f5aefb3e21283b252e6?s=128

GDG Montreal

May 30, 2019
Tweet

Transcript

  1. Jetpack Compose Preview

  2. None
  3. None
  4. None
  5. None
  6. @Composable fun Counter(store: SelfStore) { val amount = +state {

    0 } MaterialTheme { Column { Text(text = "Counter demo '${store.text}'") Button(text = "Add", onClick = { amount.value++ }) Button(text = "Subtract", onClick = { amount.value-- }) Text(text = "Clicks: ${amount.value}") } } }
  7. Core Principles

  8. Concise and Idiomatic Kotlin

  9. Declarative

  10. Compatible

  11. Enable Beautiful Apps

  12. Accelerate Development

  13. http://intelligiblebabble.com/compose-from-first-principles/