~/talk

Building Asynchronous Mechanisms in Android App, Using Kotlin Coroutines

Talkat droidcon Italy 2021 · 2021-11-12..11-13· [kotlin, android]
links:none on file
slides:none on file

Claims that a large portion of the Kotlin Coroutines API lets Android apps get testable, scalable, clean asynchronous mechanisms, then shows the concrete pieces: custom scope and job management in a presenter, a retrying generic Retrofit mapper built with suspendCoroutine and explicit retry/delay, an example of three parallel requests combined with async/await, and how switching to Room/Retrofit suspend functions removes boilerplate; custom approach works but is bulkier, library integration works and keeps code tiny.

AI-written summary · about

  1. 0:00Start
  2. 3:05What are Coroutines?
  3. 4:27Routine lifecycle (w/ coroutines)
  4. 5:36What's in the API
  5. 19:57Building Generic Retrofit Calls
  6. 30:03Best Practices
  7. 31:04Layered approach
  8. 36:31Two ways of handling exceptions
~/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.