~/talk

what you didn’t know about retrofit with kotlin

Talkat Chicago Roboto 2021 · on Tuesday, 2021-09-28· [android]
links:none on file
slides:none on file

Shows Retrofit as a configured stack not just an interface: Moshi converter with RFC3339 adapter for Kotlin data classes, an empty‑to‑null converter to handle zero‑byte responses, and OkHttp with a header interceptor for auth or analytics. Demonstrates using coroutines with suspend methods instead of Call enqueue, explains main‑safety and IO dispatchers, and inspects real requests in Android Studio network profiler using a blog API against jsonplaceholder.typicode.com so you see requests, headers, and failures end to end.

AI-written summary · about

  1. 0:00Introduction
  2. 1:17What is retrofit
  3. 3:54Objectives
  4. 5:28HTTP Client
  5. 7:06Network Issues
  6. 9:16Interface
  7. 10:49Issues
  8. 13:02Retrofit
  9. 14:12The power of retrofit
  10. 15:22What does retrofit do
  11. 16:21Retrofit is declarative
  12. 17:59Agenda
  13. 18:28What are data converters
  14. 21:47Customization
  15. 23:06Empty to Null Converter
  16. 25:27OK HTTP
  17. 26:10Header Interceptor
  18. 28:20Profiler
  19. 30:27Coroutines
  20. 33:36Enqueue
  21. 34:25COD routines
  22. 36:57Main Safety
  23. 40:46Questions
~/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.