use of com.github.vase4kin.teamcityapp.buildlist.data.BuildListDataModelImpl in project TeamCityApp by vase4kin.
the class BuildListPresenterImpl method onResetFiltersSnackBarActionClick.
/**
* {@inheritDoc}
*/
@Override
public void onResetFiltersSnackBarActionClick() {
mView.disableSwipeToRefresh();
mView.showRefreshAnimation();
mView.hideErrorView();
mView.hideEmpty();
mView.showData(new BuildListDataModelImpl(Collections.<BuildDetails>emptyList()));
mDataManager.load(mValueExtractor.getId(), loadingListener, true);
}
use of com.github.vase4kin.teamcityapp.buildlist.data.BuildListDataModelImpl in project TeamCityApp by vase4kin.
the class BuildListPresenterImpl method onFilterBuildsActivityResult.
/**
* {@inheritDoc}
*/
@Override
public void onFilterBuildsActivityResult(BuildListFilter filter) {
mView.showBuildFilterAppliedSnackBar();
mView.disableSwipeToRefresh();
mView.showRefreshAnimation();
mView.hideErrorView();
mView.hideEmpty();
mView.showData(new BuildListDataModelImpl(Collections.<BuildDetails>emptyList()));
mDataManager.load(mValueExtractor.getId(), filter, loadingListener, true);
}
Aggregations