~/talk

Who Is That API For? Practical User‑Focused Techniques for Android Library Design

TalkinJapaneseat DroidKaigi 2025 · 2025-09-10..09-12· [android, api-design]
name:mkeeda
links:none on file
slides:none on file

An Android auth library originally leaked internal DI, instance-management and navigation assumptions which broke consuming apps. The rebuild enforces an Explicit API mode, exposes a minimal public constructor (token-only) while keeping testable internal constructors, hides third-party types using module API vs implementation to avoid extra dependencies, wraps UI to work with or without Navigation Compose encapsulation, and adds KDoc, runnable sample apps and CI to make the library reusable.

AI-written summary · about

  1. 0:00Introduction
  2. 5:47Encapsulation basics
  3. 10:03Constructor design
  4. 15:08Hiding module deps
  5. 19:47Tech stack selection
  6. 23:41Feature vs freedom
  7. 27:40User-focused docs
  8. 33:21Sample app testing
  9. 40:28Summary
~/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.