actualize PresentationLayerDI

This commit is contained in:
InsanusMokrassar 2018-09-06 18:41:13 +08:00
parent 0377e85a70
commit 814a43e490
3 changed files with 8 additions and 4 deletions

View File

@ -2,10 +2,13 @@ package com.github.insanusmokrassar.PsychomatrixBase.di
import com.github.insanusmokrassar.PsychomatrixBase.data.repository.HistoryDatesRepository import com.github.insanusmokrassar.PsychomatrixBase.data.repository.HistoryDatesRepository
import com.github.insanusmokrassar.PsychomatrixBase.presentation.presenters.DatePickerPresenter import com.github.insanusmokrassar.PsychomatrixBase.presentation.presenters.DatePickerPresenter
import com.github.insanusmokrassar.PsychomatrixBase.presentation.presenters.ModifyPsychomatrixPresenter
interface PresentationLayerDI : UseCasesDI { interface PresentationLayerDI : UseCasesDI {
val datePickerPresenter: DatePickerPresenter val datePickerPresenter: DatePickerPresenter
val historyDatesRepository: HistoryDatesRepository val historyDatesRepository: HistoryDatesRepository
val modifyPsychomatrixPresenter: ModifyPsychomatrixPresenter
} }

View File

@ -4,6 +4,8 @@ import com.github.insanusmokrassar.PsychomatrixBase.di.PresentationLayerDI
import com.github.insanusmokrassar.PsychomatrixBase.di.UseCasesDI import com.github.insanusmokrassar.PsychomatrixBase.di.UseCasesDI
import com.github.insanusmokrassar.PsychomatrixBase.presentation.presenters.DatePickerPresenter import com.github.insanusmokrassar.PsychomatrixBase.presentation.presenters.DatePickerPresenter
import com.github.insanusmokrassar.PsychomatrixBase.presentation.presenters.DefaultRealisations.DatePickerPresenterImpl import com.github.insanusmokrassar.PsychomatrixBase.presentation.presenters.DefaultRealisations.DatePickerPresenterImpl
import com.github.insanusmokrassar.PsychomatrixBase.presentation.presenters.DefaultRealisations.ModifyPsychomatrixPresenterImpl
import com.github.insanusmokrassar.PsychomatrixBase.presentation.presenters.ModifyPsychomatrixPresenter
abstract class PresentationLayerDIImpl( abstract class PresentationLayerDIImpl(
useCasesDI: UseCasesDI useCasesDI: UseCasesDI
@ -15,4 +17,7 @@ abstract class PresentationLayerDIImpl(
) )
} }
override val modifyPsychomatrixPresenter: ModifyPsychomatrixPresenter = ModifyPsychomatrixPresenterImpl(
modifyPsychomatrixUseCase
)
} }

View File

@ -1,4 +0,0 @@
package com.github.insanusmokrassar.PsychomatrixBase.presentation.presenters
interface PsychomatrixChangerPresenter {
}