package com.antew.redditinpictures;

import com.antew.redditinpictures.library.RedditInPicturesApplication;
import com.antew.redditinpictures.ui.ImageDetailActivityFree;
import com.antew.redditinpictures.ui.ImageGridActivityFree;
import com.antew.redditinpictures.ui.ImageGridFragmentFree;
import com.antew.redditinpictures.ui.ImageListFragmentFree;
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,
            ImageGridFragmentFree.class,
            ImageListFragmentFree.class,
            ImageGridActivityFree.class,
            ImageDetailActivityFree.class
        }, library = true
    )
public class ApplicationModuleFree {

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

}
@@ -34,79 +34,8 @@
 s;%0A%0A
-import com.antew.redditinpictures.library.RedditInPicturesApplication;%0A
 impo
@@ -283,169 +283,21 @@
 ort 
-com.antew.redditinpictures.library.utils.MainThreadBus;%0Aimport com.squareup.otto.Bus;%0Aimport dagger.Module;%0Aimport dagger.Provides;%0Aimport javax.inject.Singleton
+dagger.Module
 ;%0A%0A/
@@ -465,55 +465,8 @@
 = %7B%0A
-            RedditInPicturesApplication.class,%0A
     
@@ -700,109 +700,5 @@
  %7B%0A%0A
-    @Singleton%0A    @Provides Bus provideOttoBus() %7B%0A        return new MainThreadBus(new Bus());%0A    %7D%0A%0A
 %7D

Fix Free applicationmodule