title: Android Dagger 2 POJO field Inject null
body: <p>Just started using Dagger 2 today and I'm a bit confused on how exactly I need to set everything up.</p>
  
  <p>I'm trying to inject a POJO, but it's always null.
  First, some code:</p>
  
  <p>App.java</p>
  
  <pre><code>private AppComponent appComponent;
  
  @Override
  public void onCreate() {
      super.onCreate();
      appComponent = DaggerAppComponent
              .builder()
              .appModule(new AppModule(this))
              .build();
  }
  
  public AppComponent component() {
      return appComponent;
  }
  </code></pre>
  
  <p>AppModule.java</p>
  
  <pre><code>@Module
  public class AppModule {
      private Application app;
  
      public AppModule(Application app) {
          this.app = app;
      }
  
      @Provides @Singleton
      public Application application() {
          return app;
      }
  }
  </code></pre>
  
  <p>AppComponent.java</p>
  
  <pre><code>@Singleton
  @Component(modules = AppModule.class)
  public interface AppComponent {
      void inject(App application);
      Application application();
  }
  </code></pre>
  
  <p>NetworkingManager.java</p>
  
  <pre><code>@Singleton
  public class NetworkingManager {
      private Context ctx;
  
      @Inject
      public NetworkingManager(Context context) {
          this.ctx = context;
      }
  }
  </code></pre>
  
  <p>NetModule.java</p>
  
  <pre><code>@Module
  public class NetModule {
      @Provides @Singleton
      public NetworkingManager provideNetworkingManager(Application application) {
          return new NetworkingManager(application);
      }
  }
  </code></pre>
  
  <p>NetComponent.java</p>
  
  <pre><code>@Singleton
  @Component(modules = {NetModule.class},
          dependencies = {AppModule.class})
  public interface NetComponent {
      void inject(NetworkingManager networkingManager);
  }
  </code></pre>
  
  <p>SomeClass.java</p>
  
  <pre><code>@Inject
  NetworkingManager networkingManager;
  
  public void doSomethingWithNetworkManager() {
      networkManager.doStuff();
  }
  </code></pre>
  
  <p>I've spent a good deal of time looking through lots of tutorials, SO questions, and examples, but I haven't been able to figure out what I'm doing wrong.</p>
  
  <p>I'm 99% certain I have something setup wrong, but I haven't been able to figure out what.</p>