filmov
tv
Easy SharedPreferences with Delegated Properties in Kotlin
Показать описание
With Kotlin's property delegates, you can easily customize the behavior of a property. In this video, we'll learn how Kotlin's delegated properties work, by turning Android's SharedPreferences into a delegate.
To see this code working within the context of a full Android app, see the companion code:
🚀 I just launched a new email newsletter!
More fun with extension operator functions!
More about extension functions:
More about reified type parameters:
Chapters:
00:00 Introduction
00:45 Introduction to Property Delegates
03:18 Simple SharedPreferences Delegation
07:24 Exploring Improvements
10:00 Advanced SharedPreferences Delegation
20:47 Conclusion
If you've got ideas on how we could improve the code in this video, let me know in the comments!
To see this code working within the context of a full Android app, see the companion code:
🚀 I just launched a new email newsletter!
More fun with extension operator functions!
More about extension functions:
More about reified type parameters:
Chapters:
00:00 Introduction
00:45 Introduction to Property Delegates
03:18 Simple SharedPreferences Delegation
07:24 Exploring Improvements
10:00 Advanced SharedPreferences Delegation
20:47 Conclusion
If you've got ideas on how we could improve the code in this video, let me know in the comments!
Easy SharedPreferences with Delegated Properties in Kotlin
Krate - SharedPreferences con delegated properties
Delegating delegates - Kotlin Vocabulary
18 Delegated properties in Kotlin
Full Guide to Delegation in Kotlin - Android Studio Tutorial
Unlock the Power of Kotlin by Property Delegates | Boost App Performance | CodingWithPuneet
Mobile Warsaw #64 — Samuel Urbanowicz — Property delegation in Kotlin. Best practices for Android....
- KOTLIN - Android Studio - Persistencia con Shared Preferences
Android App: How to retain/persist data using SharedPreferences
Delightful Delegate Design - Márton Braun (Kotlin Budapest meetup 2019-04-11)
Shared Preferences
Kotlin For Beginners - Delegation in Kotlin!
INJECT SHARED PREF MANAGER - HILT - KOTLIN
How to use Shared Preferences in kotlin
SharedPreferences Using Kotlin With ViewBinding
Decluttering remember and mutableStateOf | by delegate : Jetpack Compose - 8
Property Delegates In Kotlin
Delegation In Kotlin | Hindi
Advanced Kotlin: Mastering Delegation in Kotlin
Kotlin Standard Delegates - Lazy, Observable and Vetoable
Delegate Properties for Input Validation | #hindi |Tips and Tricks | #kotlin #android #androidtips
Extension Properties & Functions
Preferences DataStore - MAD Skills
3 Clean Code Hacks I Bet You Didn't Know (Kotlin & Android)
Комментарии