@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(); } }
@Override protected void onPreExecute() { context.showLoadingFooter(); }