private void finishRefreshLoadMore(ArrayList<Creator> list) { if (list != null) { scheduleUserGroupAdapter.add(list); } refreshLayout.finishRefresh(); refreshLayout.finishRefreshLoadMore(); }
@Override protected void handleHttpError(Throwable e) { super.handleHttpError(e); refreshLayout.finishRefresh(); refreshLayout.finishRefreshLoadMore(); }
@Override protected void handleResponseError() { super.handleResponseError(); refreshLayout.finishRefresh(); refreshLayout.finishRefreshLoadMore(); }
private void onLoadFinish(ArrayList<Creator> list) { refreshLayout.finishRefresh(); scheduleUserGroupAdapter.update(list); refreshLayout.finishRefresh(); refreshLayout.finishRefreshLoadMore(); }