use of org.eyeseetea.malariacare.domain.boundary.IPullController in project pictureapp by EyeSeeTea.
the class ProgressActivity method initializeDependencies.
private void initializeDependencies() {
AuthenticationManager authenticationManager = new AuthenticationManager(this);
IPullController pullController = new PullController(this);
IAsyncExecutor asyncExecutor = new AsyncExecutor();
IMainExecutor mainExecutor = new UIThreadExecutor();
mLogoutUseCase = new LogoutUseCase(authenticationManager);
mPullUseCase = new PullUseCase(pullController, asyncExecutor, mainExecutor);
}
Also used :
AuthenticationManager(org.eyeseetea.malariacare.data.authentication.AuthenticationManager)
IPullController(org.eyeseetea.malariacare.domain.boundary.IPullController)
PullUseCase(org.eyeseetea.malariacare.domain.usecase.pull.PullUseCase)
UIThreadExecutor(org.eyeseetea.malariacare.presentation.executors.UIThreadExecutor)
IAsyncExecutor(org.eyeseetea.malariacare.domain.boundary.executors.IAsyncExecutor)
LogoutUseCase(org.eyeseetea.malariacare.domain.usecase.LogoutUseCase)
PullController(org.eyeseetea.malariacare.data.sync.importer.PullController)
IPullController(org.eyeseetea.malariacare.domain.boundary.IPullController)
IAsyncExecutor(org.eyeseetea.malariacare.domain.boundary.executors.IAsyncExecutor)
AsyncExecutor(org.eyeseetea.malariacare.presentation.executors.AsyncExecutor)
IMainExecutor(org.eyeseetea.malariacare.domain.boundary.executors.IMainExecutor)