package com.antew.redditinpictures.library;

import com.antew.redditinpictures.library.utils.MainThreadBus;
import com.squareup.otto.Bus;
import dagger.Module;
import dagger.Provides;
import javax.inject.Singleton;

/**
 * Dagger module for setting up provides statements.
 * Register all of your entry points below.
 */
@Module
    (
        complete = false,

        injects = {
            RedditInPicturesApplication.class,
        }, library = true

    )
public class ApplicationModule {

    @Singleton
    @Provides Bus provideOttoBus() {
        return new MainThreadBus(new Bus());
    }

}
@@ -38,16 +38,274 @@
 brary;%0A%0A
+import com.antew.redditinpictures.library.ui.ImageDetailActivity;%0Aimport com.antew.redditinpictures.library.ui.ImageGridActivity;%0Aimport com.antew.redditinpictures.library.ui.ImageGridFragment;%0Aimport com.antew.redditinpictures.library.ui.ImageListFragment;%0A
 import c
@@ -385,24 +385,57 @@
 p.otto.Bus;%0A
+%0Aimport javax.inject.Singleton;%0A%0A
 import dagge
@@ -471,39 +471,8 @@
 des;
-%0Aimport javax.inject.Singleton;
 %0A%0A/*
@@ -682,16 +682,165 @@
 .class,%0A
+            ImageGridFragment.class,%0A            ImageListFragment.class,%0A            ImageGridActivity.class,%0A            ImageDetailActivity.class%0A
         
@@ -857,17 +857,16 @@
  = true%0A
-%0A
     )%0Apu

Add additional classes for injection.