Connect with us

Media

Easy SharedPreferences with Delegated Properties in Kotlin

In this video, we’ll learn how Kotlin’s delegated properties work, by turning Android’s SharedPreferences into a delegate.

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: https://github.com/djleeds/video-shared-preferences-delegates.

Advertisement

Trending