mirror of
https://github.com/InsanusMokrassar/PsychomatrixBase.git
synced 2024-11-22 08:13:57 +00:00
actualize PresentationLayerDI
This commit is contained in:
parent
0377e85a70
commit
814a43e490
@ -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
|
||||||
}
|
}
|
@ -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
|
||||||
|
)
|
||||||
}
|
}
|
@ -1,4 +0,0 @@
|
|||||||
package com.github.insanusmokrassar.PsychomatrixBase.presentation.presenters
|
|
||||||
|
|
||||||
interface PsychomatrixChangerPresenter {
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user