Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Getting Started with Dagger 2

Getting Started with Dagger 2

Rodrigo Henriques

December 03, 2015
Tweet

Other Decks in Programming

Transcript

  1. Dagger 2 Maintained by Java Core Libraries team at Google

    Faster than Guice and Dagger Easy to use and to debug Mobile first
  2. Field Injection @Inject on fields for dependencies Field can not

    be private or final Inject happens after object is fully instantiated Object is usually responsible for injection