Newer
Older
ToDoApp / app / src / main / java / keijumt / todoapp / di / ActivityModule.kt
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
    internal abstract fun contributeAddEditActivity(): AddEditTaskActivity
}