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;