~/talk

Reactive Approach to Delegation in Kotlin

Talkat Android Summit 2019 · 2019-08-14..08-15· [kotlin]
slides:none on file

Kotlin delegated properties drive concrete outcomes: uses lazy, observable delegate, and vetoable for real view state management; a custom animated button implements a sealed-class state machine and delegates state changes to an observable so click handling avoids nested ifs; map delegation parses dynamic API fields into properties; lateinit/NotNull and thread modes for lazy are used; result is fewer lines, partial UI updates instead of full redraws, and a working custom view with simpler update logic.

AI-written summary · about

  1. 0:00Introduction
  2. 1:05Origin of Delegation
  3. 2:09Types of Delegation
  4. 4:05Delegation
  5. 5:35Compiler
  6. 6:28Property Delegation
  7. 7:21Property Interfaces
  8. 8:40Lazy Delegate
  9. 11:15Thread Synchronization
  10. 11:31Thread Mode
  11. 13:47Not Known Delegate
  12. 15:05Map
  13. 15:24Map Extensions
  14. 16:00Map Properties
  15. 16:28Map Key
  16. 16:56Map Fields
  17. 17:43Observable
  18. 18:21Initial Value
  19. 18:55Lambda Function
  20. 19:20NotifyDataSetChange
  21. 20:03Delegated observable
  22. 20:57Delegated variable
  23. 21:37List adapter
  24. 21:53Variable in
  25. 22:09Bounded
  26. 22:31Validation
  27. 24:16Visibility
  28. 24:45Background Resource
  29. 25:09Change Background Resource
  30. 25:44Show Send Button
  31. 29:10BindAnimation
  32. 29:26State Variables
  33. 30:27API Response Status
  34. 31:07Show
  35. 33:22Show Animated View
  36. 34:11Combine User Intents
  37. 34:38Delegate Property
  38. 35:25Conclusion
~/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.