mirror of
https://github.com/aniyomiorg/aniyomi.git
synced 2025-01-14 08:19:44 +03:00
28 lines
No EOL
747 B
Java
28 lines
No EOL
747 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.LibraryPresenter;
|
|
import eu.kanade.mangafeed.presenter.MangaDetailPresenter;
|
|
import eu.kanade.mangafeed.ui.activity.MainActivity;
|
|
import eu.kanade.mangafeed.ui.activity.MangaDetailActivity;
|
|
import eu.kanade.mangafeed.ui.fragment.LibraryFragment;
|
|
|
|
@Singleton
|
|
@Component(
|
|
modules = {
|
|
AppModule.class,
|
|
DataModule.class
|
|
}
|
|
)
|
|
public interface AppComponent {
|
|
|
|
void inject(LibraryPresenter libraryPresenter);
|
|
void inject(MangaDetailPresenter mangaDetailPresenter);
|
|
|
|
Application application();
|
|
} |