January 2017
Intermediate to advanced
420 pages
9h 25m
English
Kotlin enhances the concept of properties to promote code reuse and make the developer coding task easier. There are many repetitive code snippets you and I could write. Ideally, we should have the following functionality out-of-the-box:
INotifyPropertyChange interface will come to mind.Well, good news! Kotlin's delegate properties support all of these. We deal quite often with types for which we need an identifier:
interface WithId { val id: String } data class WithIdImpl(override ...Read now
Unlock full access