Skip to content

google-developer-training/basic-android-kotlin-compose-training-lemonade

Repository files navigation

Lemonade app

Introduction

The Lemonade app is a simple Compose app that allows the user to make digital lemonade by tapping through a series of steps: select a lemon from the tree, squeeze the lemon, drink the glass of lemonade, and start again.

The concepts covered in this app are:

  • Simple UI layout in Compose
  • Add clickable behavior to a composable
  • Use remember and mutableStateOf to keep track of relevant state in the app

Pre-requisites

  • Knowledge of basic UI composables
  • Able to set a click listener on a Button composable
  • Able to store state in a simple Compose app with remember and mutableStateOf

Getting Started

  1. Download the starter code
  2. Open the project in Android Studio
  3. Complete the project in accordance with the app requirements