質問編集履歴
1
無用のスペースを省く
test
CHANGED
File without changes
|
test
CHANGED
@@ -10,9 +10,9 @@
|
|
10
10
|
|
11
11
|
val adapter = ArrayAdapter<String>(this, R.layout.list_item, R.id.text1,items)
|
12
12
|
|
13
|
-
|
13
|
+
listView.adapter = adapter
|
14
14
|
|
15
|
-
|
15
|
+
listView.setOnItemClickListener { adapterView, view, position, id ->
|
16
16
|
|
17
17
|
Toast.makeText(applicationContext, "セリフ:${view}", Toast.LENGTH_SHORT).show()
|
18
18
|
|