~/talk

Implementing Multi-Login

TalkinJapaneseat DroidKaigi 2018 · 2018-02-08..02-09· [android, developer-experience]
name:yuyakaido
links:none on file
slides:none on file

Shows how to implement multi-account login by scoping repositories, Retrofit clients, and preference storage to each account so switching never leaks or overwrites data. Uses Dagger to create per-account dependency-injection containers, Retrofit plus the Twitter SDK for API calls, and a CompositeDisposable per account to cancel or ignore late responses; persistent storage is handled with per-account SharedPreferences. Includes a working sample: a multi-account Twitter client demonstrating these techniques.

AI-written summary · about

  1. 0:00Start
  2. 0:43Self-introduction
  3. 10:28Design Policy for Multi-Login Implementation
  4. 13:31Instance Management
  5. 23:46App Launch
  6. 24:39Adding an Account
  7. 27:27Summary
~/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.