Skip to content

AseemWangoo/hands_on_kotlin

Repository files navigation

hands_on_kotlin

Hands on Kotlin is a sample todo app, built with Jetpack Compose.

To try out this app, you need to use the latest Canary version of Android Studio 4.2. You can clone this repository or import the project from Android Studio following the steps here.

Screenshots

Features

This sample contains 3 screens: Authentication screen (Sign in with Google), a list of todos, where the user can view their todos, and a add todo screen.

State in Compose

Different ways to manage state.

Room

Uses Room to save todos, locally.

ViewModel

Uses ViewModel to manage state and display the changes in the todos instantly

Navigation

Uses compose destinations for navigating between screens

WorkManager

Backup on demand and periodic backup

Testing in Compose

Shows different ways to test compose

Google SignIn Compose

How to integrate google sign in compose

Supercharge your Kotlin project

Tips for the Kotlin code