~/talk

Superpowers of Kotlin Delegation

Talkat Mobilization 8 · on Friday, 2018-10-26· [kotlin]
slides:none on file

Covers Kotlin’s interface and property delegation with concrete patterns and pitfalls: uses notNull delegate and lazy for lateinit and lazy init, observable/vetoable for change tracking, and map-as-delegate (which copies the map at delegation time, causing stale data unless a mutable map is cleared). Shows practical Android libraries (view-binding and shared‑preferences delegates, unit‑test friendly) built and used successfully, mentions Kodein-style DI and the provideDelegate hook for advanced delegation.

AI-written summary · about

  1. 0:00Start
  2. 7:17Interface Delegation
  3. 8:05Creator Pattern
  4. 10:07Property Delegation
  5. 12:38What Is Property Delegate and Usage Compiled to
  6. 14:45Standard Library Delegates
  7. 15:49Not Null Delegate
  8. 16:59Lazy Initialization
  9. 19:35An Observable Delegate
  10. 29:40Changing Interface Functions in Properties
  11. 30:39Preference Binding
  12. 34:26Functions
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.