The video in Spanish explaining the new language features in Kotlin 1.4 is in my channel: VIDEO
This repository contains the following examples:
- SAM Conversions for kotlin classes
- Explicit API Mode
- Trailing comma
- Break and continue inside when expressions
- Mixing names and positional arguments
- Naming conventions: *orNull
- max and min functions are deprecated in 1.4.
- maxOrNull / minOrNull should be used instead
- maxBy vs maxOf
- minBy vs minOf
- Naming conventions: * Indexed
- forEach vs onEach
- flatMapIndexed
- ArrayDeque
Twitter @jggomezt
My Podcast Snippets Tech
My youtube channel devhack
LICENSE The MIT License (MIT) Copyright (c) 2020 Juan Guillermo Gómez