回答編集履歴

1

メソッド名間違い

2018/05/10 09:08

投稿

keicha_hrs
keicha_hrs

スコア6768

test CHANGED
@@ -70,7 +70,7 @@
70
70
 
71
71
  Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TOP);
72
72
 
73
- intent.setExtra("D", true); // フラグをセット
73
+ intent.putExtra("D", true); // フラグをセット
74
74
 
75
75
  startActivity(intent);
76
76