Android中当前Activity跳转到当前Activity页面

 

 

步骤:先关闭自己,在跳转

case R.id.btn_copy:// 复制
Toast.makeText(mContext, "正在复制", Toast.LENGTH_SHORT).show();
finish();
Intent copyintent=new Intent(mContext, FarmingPlanAddActivity.class);
copyintent.putExtra("planaddedit", "plancopy");
copyintent.putExtra("planId", planId);
startActivity(copyintent);
Log.i("44444444444", "rrrrrrrrrr");
break;

posted on 2017-07-14 18:36  巫山老妖  阅读(834)  评论(0编辑  收藏  举报