コード例 #1
0
 private void finishRefreshLoadMore(ArrayList<Creator> list) {
   if (list != null) {
     scheduleUserGroupAdapter.add(list);
   }
   refreshLayout.finishRefresh();
   refreshLayout.finishRefreshLoadMore();
 }
コード例 #2
0
 @Override
 protected void handleHttpError(Throwable e) {
   super.handleHttpError(e);
   refreshLayout.finishRefresh();
   refreshLayout.finishRefreshLoadMore();
 }
コード例 #3
0
 @Override
 protected void handleResponseError() {
   super.handleResponseError();
   refreshLayout.finishRefresh();
   refreshLayout.finishRefreshLoadMore();
 }
コード例 #4
0
 private void onLoadFinish(ArrayList<Creator> list) {
   refreshLayout.finishRefresh();
   scheduleUserGroupAdapter.update(list);
   refreshLayout.finishRefresh();
   refreshLayout.finishRefreshLoadMore();
 }