~/talk

fun() Talk: Exploring Kotlin Functions

Talkat Android Summit 2018 · on Thursday, 2018-08-16· [kotlin]
slides:none on file

Shows how Java methods convert to Kotlin functions using the Java-to-Kotlin converter and Kotlin Koans and demonstrates concrete fixes: use @JvmStatic/@JvmName to clean Java interop, generate overloads with @JvmOverloads, and declare extension functions for Context like toast and view visibility. Builds wrappers for shared preferences and fragment factories, uses inline to avoid allocations for higher-order lambdas, and proves these patterns reduce boilerplate while preserving performance and Java compatibility.

AI-written summary · about

  1. 0:00Intro
  2. 2:06Easy to Get Started
  3. 2:38Hello Java Method
  4. 2:56Java Method Conve
  5. 3:20Further Simplificati
  6. 4:05Flexible & Convenient
  7. 4:46Parameter Basics
  8. 5:32Default Parameters
  9. 8:08Named Arguments
  10. 11:10Variable Number of
  11. 14:40Return Types: Non
  12. 16:18Variations In Scope
  13. 16:34Top-Level Function
  14. 19:18Member Functions
  15. 20:05Local Functions
  16. 23:10Companion Objects
  17. 27:43infix Functions: stdl
  18. 29:41Extension Functions
  19. 31:43Higher-Order Funct
  20. 35:01inline Functions
  21. 38:25Cleaner Syntax
  22. 39:00Useful Collection Fu
  23. 41:27Useful String Funct
~/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.