Lab.kt

Labs

Worked examples for the lesson files: nulls, lists, rotation, and Java at the Kotlin boundary.

FormLab.kt

A form that keeps null visible

An email field starts empty. Empty and null are not the same mistake.

ListLab.kt

A list that does not freeze the first frame

The first composition paints a loading state. The read happens in a coroutine.

RotateLab.kt

Rotation keeps the lesson open

The composable is recreated. The ViewModel is not.

BridgeLab.kt

A Java helper at the edge

The Java method returns CharSequence. Kotlin decides what null means before the UI sees it.

Danville · educational · 2018AboutDeskFAQOffice