Exemple #1
0
  @Override
  protected void onPostExecute(List<com.cattong.entity.Status> result) {
    if (result != null && result.size() > 0) {
      adapter.addCacheToDivider(null, result);
    } else {
      if (message != null) {
        Toast.makeText(adapter.getContext(), message, Toast.LENGTH_LONG).show();
      }
    }

    if (paging.hasNext()) {
      context.showMoreFooter();
    } else {
      context.showNoMoreFooter();
    }
  }
Exemple #2
0
 @Override
 protected void onPreExecute() {
   context.showLoadingFooter();
 }