package keijumt.todoapp.di import dagger.Module import dagger.android.ContributesAndroidInjector import keijumt.todoapp.addtask.AddEditTaskActivity import keijumt.todoapp.main.MainActivity /** * DIするActivity */ @Module internal abstract class ActivityModule { @ContributesAndroidInjector internal abstract fun contributeMainActivity(): MainActivity @ContributesAndroidInjector(modules = arrayOf(FragmentBuildersModule::class)) internal abstract fun contributeAddEditActivity(): AddEditTaskActivity }