@Override protected void onPostExecute(Result result) { super.onPostExecute(result); if (result != null) { if (result.getStatus().equals("0")) { UIHelper.ToastMessage(context, typeDesc + "已删除"); if (taskCallBack != null) { taskCallBack.onTaskFinshed(); } // 如果是从 启动的,删除后,回到最新回复列表页面 if (context.getClass().isAssignableFrom(NewCommentsDetailActivity.class)) { ((BaseActivity) context).finish(); ((BaseActivity) context).backAnim(); } } else { UIHelper.ToastMessage(context, result.getStatusMessage()); return; } } else { if (null != e) { e.makeToast(context); } return; } }
@Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_course_county); list = (ArrayList<CourseRegions>) getIntent().getSerializableExtra("list"); initView(); }
@Override protected void onResume() { super.onResume(); newReplyMsgBadgeView.setTargetView(fl_common_zxhf); new GetNewCommentsCountTask(context, newReplyMsgBadgeView) .execute(AppContext.getApp().getToken(), Constant.COMMNETTYPE_ZXDT); }
@Override protected void onCreate(Bundle savedInstanceState) { // TODO Auto-generated method stub super.onCreate(savedInstanceState); setContentView(R.layout.forget_passrword_step1); context = this; initView(); }
@Override protected void onCreate(Bundle savedInstanceState) { // TODO Auto-generated method stub super.onCreate(savedInstanceState); setContentView(R.layout.activity_zhizun_commodity); baer = getIntent().getStringExtra("Code"); initView(); }
@Override protected void onActivityResult(int requestCode, int resultCode, Intent data) { // TODO Auto-generated method stub super.onActivityResult(requestCode, resultCode, data); if (requestCode == FLAG_SENDDYNAMIC_REQUESTCODE_STRING && resultCode == FLAG_SENDDYNAMIC_REQUESTCODE_STRING) { // 进入自动刷新 mPullListView.doPullRefreshing(true, 500); } }
@Override protected void onCreate(Bundle savedInstanceState) { // TODO Auto-generated method stub super.onCreate(savedInstanceState); setContentView(R.layout.activity_zxdt_teacher); context = this; initView(); new GetNewCommentsCountTask(context, newReplyMsgBadgeView) .execute(AppContext.getApp().getToken(), Constant.COMMNETTYPE_ZXDT); content(); }
@Override protected void onCreate(Bundle savedInstanceState) { // TODO Auto-generated method stub super.onCreate(savedInstanceState); context = this; setContentView(R.layout.myepei_babyinfo); options = Options.getListOptions(); initView(); // 加载宝宝信息列表 showProgressDialog(context, "", getResources().getString(R.string.load_ing)); new GetBabyListTask().execute(AppContext.getApp().getToken()); }
@Override protected void onActivityResult(int requestCode, int resultCode, Intent data) { // TODO Auto-generated method stub super.onActivityResult(requestCode, resultCode, data); if (requestCode == Constant.REQUSTCONDE_BABYINFO_CATLIST && resultCode == Constant.REQUSTCONDE_BABYINFO_CATLIST) { // 加载宝宝信息列表 if (current_position >= 0 && current_position <= list.size() - 1) { new GetupdateBabyTask() .execute( list.get(current_position).getChildId(), AppContext.getApp().getUserLoginSharedPre().getUserInfo().getUserId(), ""); } } }
@Override public void onBackPressed() { super.onBackPressed(); this.finish(); overridePendingTransition(R.anim.slide_in_left, R.anim.slide_out_right); }