@Override
 protected void onPostExecute(Boolean aBoolean) {
   super.onPostExecute(aBoolean);
   if (aBoolean) {
     ((CommentListAdapter) timeLineAdapter).removeItem(positon);
   }
 }
 @Override
 protected void onCancelled(Boolean aBoolean) {
   super.onCancelled(aBoolean);
   if (Utility.isAllNotNull(getActivity(), this.e)) {
     Toast.makeText(getActivity(), e.getError(), Toast.LENGTH_SHORT).show();
   }
 }
示例#3
0
 @Override
 protected void onPostExecute(UserBean o) {
   setValue();
   topicListTask = new TopicListTask();
   topicListTask.executeOnExecutor(MyAsyncTask.THREAD_POOL_EXECUTOR);
   super.onPostExecute(o);
 }
示例#4
0
 @Override
 protected void onPostExecute(Integer result) {
   super.onPostExecute(result);
   if (result == null) {
     return;
   }
   if (shareCountBtn == null) {
     return;
   }
   shareCountInt = result;
   shareCountBtn.setText(String.valueOf(shareCountInt));
 }
示例#5
0
 @Override
 protected void onPreExecute() {
   super.onPreExecute();
 }