Upgrade to Pro — share decks privately, control downloads, hide ads and more …

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/

GDG Montreal

May 30, 2019
Tweet

More Decks by GDG Montreal

Other Decks in Programming

Transcript

  1. @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}") } } }