1. 程式人生 > >Android中當前Activity跳轉到當前Activity頁面

Android中當前Activity跳轉到當前Activity頁面

頁面 context android plan nbsp text ini putextra min

步驟:先關閉自己,在跳轉

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;

Android中當前Activity跳轉到當前Activity頁面