Talk given at Kotlin Everywhere Berlin, Android Chapter in September 2019.
Event:
https://www.eventbrite.com/e/kotlin-everywhere-android-chapter-tickets-70491789841
Summary:
Kotlin promises a lot of features, and while some features (like data classes, lambda functions, etc.) have gained more popularity than others, there are some features that are not so widely used.
In this talk, we will look at a couple of nice features that are not very widely used. Some of the features we will look at include typealiases and inline classes as well as property delegations and others and their practical applications to Android development. Wherever it applies, we will also discuss the technical trade-offs to consider when using these features.
At the end of the talk, we would have touched on some of these nice features, and how we can immediately start applying in our codebase to get instant benefits.
Resources:
https://kotlinlang.org/docs/reference/
https://gist.github.com/segunfamisa/716401e58ead9e6eb1c848a51451f927
https://android.googlesource.com/platform/frameworks/support/+/androidx-master-dev/activity/activity-ktx/src/main/java/androidx/activity/ActivityViewModelLazy.kt