mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-08 19:57:25 +01:00
30 lines
817 B
Java
30 lines
817 B
Java
package eu.kanade.mangafeed;
|
|
|
|
import android.app.Application;
|
|
|
|
import javax.inject.Singleton;
|
|
|
|
import dagger.Component;
|
|
import eu.kanade.mangafeed.data.DataModule;
|
|
import eu.kanade.mangafeed.presenter.CatalogueListPresenter;
|
|
import eu.kanade.mangafeed.presenter.CataloguePresenter;
|
|
import eu.kanade.mangafeed.presenter.LibraryPresenter;
|
|
import eu.kanade.mangafeed.presenter.MangaDetailPresenter;
|
|
|
|
@Singleton
|
|
@Component(
|
|
modules = {
|
|
AppModule.class,
|
|
DataModule.class
|
|
}
|
|
)
|
|
public interface AppComponent {
|
|
|
|
void inject(LibraryPresenter libraryPresenter);
|
|
void inject(MangaDetailPresenter mangaDetailPresenter);
|
|
void inject(CataloguePresenter cataloguePresenter);
|
|
void inject(CatalogueListPresenter catalogueListPresenter);
|
|
|
|
Application application();
|
|
}
|