~/talk

Real World Kotlin-Powered Android

Talkat DevFest Nantes 2017 · 2017-10-19..10-20· [kotlin, android]
slides:none on file

Converts an existing Stock Hawk Android app from Java to Kotlin file by file, adding the Kotlin Gradle plugin and using data classes for POJOs, SQLDelight (planning to move to Room) for persistence, and Anko Commons + Anko logger for intents and logging. Shows concrete rewrites: IntentService constructor, companion objects, lateinit and lazy delegation, collection map/filter and taking the last 30 quotes. Advises against mass-converting (use per-file) and flags the dangerous double-bang (!!); the migrated app runs and reduces boilerplate.

AI-written summary · about

  1. 0:00Start
  2. 3:44The Billion Dollar Mistake
  3. 6:32Intent Service
  4. 8:40Question Mark behind Intent
  5. 9:29Instance Variables
  6. 10:56Updating the Data Model
  7. 12:56Database Layer
  8. 17:13Delegation
  9. 20:43Intent Helpers
  10. 25:27Null Safety
  11. 25:37Recap
~/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.