Kotlin

A statically typed, cross-platform language that targets the JVM (Java Virtual Machine) and can also compile to JavaScript and native.

Tags

Kotlin Using X Type Function Functions Kotlins Null Abstract Mismatch Expected Data Classes Working Understanding

What does 'Type mismatch: inferred type is X? but X was expected' in Kotlin mean?
How to fix 'IllegalStateException: X must not be null' in Kotlin?
What's causing 'Modifier 'override' is not applicable to 'local function' in Kotlin?
'Class 'X' is not abstract and does not implement abstract member public abstract fun Y...' in Kotlin, what does this mean?
Why am I seeing 'No value passed for parameter X' in Kotlin?
What's causing 'Function invocation ... expected' in Kotlin?
How can I resolve 'Val cannot be reassigned' in Kotlin?
What does 'Unresolved reference: X' mean in Kotlin?
How do I fix 'Type mismatch: inferred type is X but Y was expected' in Kotlin?
Why am I encountering 'NullPointerException' in Kotlin?
How do I initialize a lateinit var in Kotlin?
Why can't I modify my Kotlin List after initialization?
How can I make my data class in Kotlin Parcelable?
Why is the 'when' expression in Kotlin saying it's not exhaustive?
Kotlin: How can I create a singleton using the `object` keyword?
Why am I getting a type mismatch error in my Kotlin function?
How do I use lambda functions in Kotlin?
Why can't I call Java static methods the usual way in Kotlin?
Kotlin: How do I handle null safety properly?
Why is my Kotlin extension function not being recognized?