Kotlin: Using KTX - MAD Skills

38 569
18.1
Следующее
15.12.20 – 1 862 7871:11
What’s your MAD score?
Популярные
127 дней – 4 1800:38
Compose Tips for Delightful UI
Опубликовано 14 декабря 2020, 18:01
When using Android Java APIs in Kotlin, you quickly realise that you’re missing out on some of the Kotlin features that make coding so much easier and pleasant. Instead of writing your own wrappers and extension functions for these APIs, take a look at the Jetpack KTX libraries. Currently, more than 20 libraries have a KTX version, creating sweet idiomatic versions of Java APIs, ranging from Android platform APIs to ViewModels, SQLite and even Play Core. On today’s episode of Kotlin for MAD SKills, Florina will show us how to use Android KTX and peek under the hood to see how they were made.

List of KTX extensions → goo.gle/2KoYOqY
Easy Coroutines in Android: viewModelScope → goo.gle/37ZYnLP
Extend your code readability with Kotlin extensions → goo.gle/2KlSVeb

Catch more Kotlin and Jetpack APIs for MAD Skills → goo.gle/kotlin-madskills

Watch more MAD Skills episodes → goo.gle/madskills
Subscribe to Android Developers → goo.gle/AndroidDevs

#Kotlin #Jetpack #MADSkills
автотехномузыкадетское