2015-09-24 18:27:43 +03:00
|
|
|
package eu.kanade.mangafeed;
|
|
|
|
|
|
|
|
import android.app.Application;
|
|
|
|
|
|
|
|
import javax.inject.Singleton;
|
|
|
|
|
|
|
|
import dagger.Component;
|
|
|
|
import eu.kanade.mangafeed.data.DataModule;
|
2015-09-26 19:58:01 +03:00
|
|
|
import eu.kanade.mangafeed.presenter.LibraryPresenter;
|
2015-09-28 16:02:46 +03:00
|
|
|
import eu.kanade.mangafeed.presenter.MangaDetailPresenter;
|
2015-09-24 18:27:43 +03:00
|
|
|
import eu.kanade.mangafeed.ui.activity.MainActivity;
|
2015-09-26 15:25:18 +03:00
|
|
|
import eu.kanade.mangafeed.ui.activity.MangaDetailActivity;
|
|
|
|
import eu.kanade.mangafeed.ui.fragment.LibraryFragment;
|
2015-09-24 18:27:43 +03:00
|
|
|
|
|
|
|
@Singleton
|
|
|
|
@Component(
|
|
|
|
modules = {
|
|
|
|
AppModule.class,
|
|
|
|
DataModule.class
|
|
|
|
}
|
|
|
|
)
|
|
|
|
public interface AppComponent {
|
|
|
|
|
2015-09-26 19:58:01 +03:00
|
|
|
void inject(LibraryPresenter libraryPresenter);
|
2015-09-28 16:02:46 +03:00
|
|
|
void inject(MangaDetailPresenter mangaDetailPresenter);
|
2015-09-24 18:27:43 +03:00
|
|
|
|
|
|
|
Application application();
|
|
|
|
}
|