@Override
 protected void onPostExecute(Boolean aBoolean) {
   super.onPostExecute(aBoolean);
   if (aBoolean) {
     finish();
   }
 }
Ejemplo n.º 2
0
 @Override
 protected void onPostExecute(UserBean o) {
   setValue();
   topicListTask = new TopicListTask();
   topicListTask.executeOnExecutor(MyAsyncTask.THREAD_POOL_EXECUTOR);
   super.onPostExecute(o);
 }
Ejemplo n.º 3
0
 @Override
 protected void onPostExecute(Void aVoid) {
   super.onPostExecute(aVoid);
   if (statusDraftBean != null) DraftDBManager.getInstance().remove(statusDraftBean.getId());
   Toast.makeText(
           SendWeiboService.this, getString(R.string.send_successfully), Toast.LENGTH_SHORT)
       .show();
   stopServiceIfTasksAreEnd(WeiboSendTask.this);
 }
 @Override
 protected void onPostExecute(UserBean o) {
   super.onPostExecute(o);
   Toast.makeText(
           getActivity(),
           getActivity().getString(R.string.unfollow_successfully),
           Toast.LENGTH_SHORT)
       .show();
   adapter.update(bean, o);
 }