2019-12-13 02:12:19 +01:00
|
|
|
package info.nightscout.androidaps.dependencyInjection
|
|
|
|
|
|
|
|
import dagger.Module
|
|
|
|
import dagger.android.ContributesAndroidInjector
|
|
|
|
import info.nightscout.androidaps.MainActivity
|
2019-12-23 13:27:15 +01:00
|
|
|
import info.nightscout.androidaps.activities.PreferencesActivity
|
2019-12-13 02:12:19 +01:00
|
|
|
|
|
|
|
@Module
|
|
|
|
abstract class ActivitiesModule {
|
2019-12-23 13:27:15 +01:00
|
|
|
|
2019-12-13 02:12:19 +01:00
|
|
|
@ContributesAndroidInjector
|
|
|
|
abstract fun contributeMainActivity(): MainActivity
|
2019-12-23 13:27:15 +01:00
|
|
|
|
|
|
|
@ContributesAndroidInjector
|
|
|
|
abstract fun contributesPreferencesActivity(): PreferencesActivity
|
2019-12-13 02:12:19 +01:00
|
|
|
}
|