Toothpick: a fresh approach to Dependency Injection on Android
summary
Toothpick is a Java dependency-injection library for Android that implements JSR-330 using a runtime, reflection-free, scope-tree model. The talk covers Toothpick’s features (Guice-like syntax, named/lazy/provider bindings, custom scopes), performance claims versus Dagger 1/2 and RoboGuice, and how explicit scope trees and scope annotations help handle complex flows, testing (with Mockito/EasyMock), and state preservation across activities/configuration changes.
AI-written summary · about
chapters (10)
- 0:00Start
- 2:55THE TALK
- 4:17WHY DI?
- 6:34WHY TOOTHPICK?
- 16:51SAVE THE TREES
- 23:43ADVANCED TOOTHPICK FEATURES
- 23:56SOME EXAMPLES
- 33:36TESTING IS IMPORTANT
- 36:13UNIT TESTING
- 38:35CONCLUSION
related talks
53mToothpick: a fresh approach to Dependency Injection on Android
42mDependency injection made simple
22mDependency Injection in Android using Dagger 2
45mDagger 2 - Back to Basics
39mInject Basics!
28mDependency Injection You Can Start Today
30mThe Imposter’s Guide To Dependency Injection
43mDI for Dummies
