Introduction
Kotlin best practices for Android
()
What you should know
()
1. From Java to Kotlin
Kotlin language features
()
EditorConfig
()
2. Properties and Fields
Auto convert and the !! operator
()
On-demand property: Getters
()
Lazy initialization: lazy()
()
Late initialization: lateinit
()
Kotlin Android extensions
()
3. Conditionals
Elvis operator
()
Scope functions: let
()
Scope functions: apply
()
The when expression
()
Sealed classes
()
4. Readability
Data class
()
String templates
()
Functional programming: map, reduce
()
Functional programming: find, filter
()
Functional programming: all, Any
()
Android KTX
()
Ex_Files_Kotlin_Android.zip
(1.9 MB)