mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-14 14:32:49 +01:00
23 lines
449 B
Java
23 lines
449 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.ui.activity.MainActivity;
|
||
|
|
||
|
@Singleton
|
||
|
@Component(
|
||
|
modules = {
|
||
|
AppModule.class,
|
||
|
DataModule.class
|
||
|
}
|
||
|
)
|
||
|
public interface AppComponent {
|
||
|
|
||
|
void inject(MainActivity mainActivity);
|
||
|
|
||
|
Application application();
|
||
|
}
|