class SubmitChangeRequestScreenPresenter {

    public void updateDiffContainer() {
        busyIndicatorView.showBusyIndicator(ts.getTranslation(LibraryConstants.Loading));

        changeRequestService.call((final List<ChangeRequestDiff> diffList) -> {
            boolean hideDiff = diffList.isEmpty();

            if (hideDiff) {
                setupEmptyDiffList();
            } else {
                setupPopulatedDiffList(diffList);
            }

            view.showDiff(!hideDiff);
            busyIndicatorView.hideBusyIndicator();
        }, new HasBusyIndicatorDefaultErrorCallback(busyIndicatorView))
                .getDiff(workspaceProject.getSpace().getName(),
                         workspaceProject.getRepository().getAlias(),
                         currentBranchName,
                         selectedBranch);
    }

    @Inject public  SubmitChangeRequestScreenPresenter(final View view,
                                              final TranslationService ts,
                                              final LibraryPlaces libraryPlaces,
                                              final ManagedInstance<DiffItemPresenter> diffItemPresenterInstances,
                                              final Caller<ChangeRequestService> changeRequestService,
                                              final ProjectController projectController,
                                              final Promises promises,
                                              final BusyIndicatorView busyIndicatorView,
                                              final ChangeRequestUtils changeRequestUtils,
                                              final Event<NotificationEvent> notificationEvent);

}