Discover how to leverage the power of Kotlin when developing Android mobile apps. Learn best practices for working with some of this popular language’s most helpful features.
Overview
Syllabus
Introduction
- Kotlin best practices for Android
- What you should know
- Kotlin language features
- EditorConfig
- Auto convert and the !! operator
- On-demand property: Getters
- Lazy initialization: lazy()
- Late initialization: lateinit
- Kotlin Android extensions
- Elvis operator
- Scope functions: let
- Scope functions: apply
- The when expression
- Sealed classes
- Data class
- String templates
- Functional programming: map, reduce
- Functional programming: find, filter
- Functional programming: all, Any
- Android KTX
- Next steps
Taught by
Chiu-Ki Chan