~/talk

Sharpening your Dagger 2 Skills

Talkat DevFest Montreal 2017 · on Saturday, 2017-11-18· [android]
speakerdeck:pbreault
slides:none on file

Shows how to wire Dagger 2 for Android apps, use dagger-android to avoid manual component plumbing, and write deterministic tests by replacing modules with a test Application with swapped component or running each test in the orchestrator. Recommends constructor injection for plain unit tests, using @Binds over @Provides and static methods to shrink generated code, warns that heavy use of subcomponents produces generated components up to 150,000 lines and causes huge build and APK size and suggests keeping scopes coarse and modules focused.

AI-written summary · about

~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.