Interacting with UI and state

Create a tip calculator app that calculates the tip from user input in the app.

 

Understanding state in Compose

Video Optional

Welcome to pathway 3! In this pathway, you will learn how to work with state in Jetpack Compose.

Intro to tip calculator

Video Optional

In this pathway, you will build an app that will help you calculate the tip amount the next time you need to tip.

Intro to state in Compose

Codelab

Learn about state, and how it can be used and manipulated by Jetpack Compose.

Calculate a custom tip

Codelab

Learn how to add an action button, set up keyboard actions, and use a Switch composable.

Write automated tests

Codelab

In this codelab, you’ll learn what automated tests are, why they are important, and how to write them.

Project: Create an Art Space app

Codelab

Learn how to create an Android app that showcases your own art space.

What's next?

Video Optional

Congratulations on completing the second unit in the course! In this unit you learned important topics on Kotlin and built interactive apps that respond to a button click and accept input from a text field! Give yourself a pat on the back! You did a great job!

Quiz

Test your knowledge of UI and state, and earn your Interacting with UI and state badge.