回答編集履歴
2
ベストアンサー後だが回答にtypoがあったので一応直しておく
test
CHANGED
@@ -56,7 +56,7 @@
|
|
56
56
|
|
57
57
|
× swtitch(whitch){
|
58
58
|
|
59
|
-
○ switch (whi
|
59
|
+
○ switch (which){ // switchのスペルミス
|
60
60
|
|
61
61
|
|
62
62
|
|
1
修正内容のコメント追加
test
CHANGED
@@ -14,7 +14,7 @@
|
|
14
14
|
|
15
15
|
× public void onitemClick(AdapterView<?> parent, View view, int position, long id){
|
16
16
|
|
17
|
-
○ public void onItemClick(AdapterView<?> parent, View view, int position, long id){
|
17
|
+
○ public void onItemClick(AdapterView<?> parent, View view, int position, long id){ // ItemのIは大文字
|
18
18
|
|
19
19
|
```
|
20
20
|
|
@@ -30,7 +30,7 @@
|
|
30
30
|
|
31
31
|
|
32
32
|
|
33
|
-
× AlterDialog.Builder builder = new AlterDialog.Builder(getActivity());
|
33
|
+
× AlterDialog.Builder builder = new AlterDialog.Builder(getActivity()); // Alertのスペルミス(以下のAlertも全て同じ)
|
34
34
|
|
35
35
|
○ AlertDialog.Builder builder = new AlertDialog.Builder(getActivity());
|
36
36
|
|
@@ -38,7 +38,7 @@
|
|
38
38
|
|
39
39
|
× builder.setNeutralButton(R.string.dialog_btn_nu), new DialogButtonClickListener();
|
40
40
|
|
41
|
-
○ builder.setNeutralButton(R.string.dialog_btn_nu, new DialogButtonClickListener());
|
41
|
+
○ builder.setNeutralButton(R.string.dialog_btn_nu, new DialogButtonClickListener()); // 括弧閉じの位置が誤っている
|
42
42
|
|
43
43
|
|
44
44
|
|
@@ -56,13 +56,13 @@
|
|
56
56
|
|
57
57
|
× swtitch(whitch){
|
58
58
|
|
59
|
-
○ switch (whitch){
|
59
|
+
○ switch (whitch){ // switchのスペルミス
|
60
60
|
|
61
61
|
|
62
62
|
|
63
63
|
× Toast.makeText(getActivity().msg, Toast.LENGTH_LONG).show();
|
64
64
|
|
65
|
-
○ Toast.makeText(getActivity(), msg, Toast.LENGTH_LONG).show();
|
65
|
+
○ Toast.makeText(getActivity(), msg, Toast.LENGTH_LONG).show(); // カンマとドットの間違い
|
66
66
|
|
67
67
|
```
|
68
68
|
|