JavaNote.kt

May 6, 2026

Java null stops at the bridge

Platform types are the honest name for a Java value with no null annotation.

One conversion

Pick one function that turns the Java value into a Kotlin String or an explicit String?. Call it at the edge.

After that function, the rest of the lesson uses Kotlin types only. The composable should not be the place that discovers a null.

Danville · educational · 2018AboutDeskFAQOffice