What is the wrong in ListView
per on click dont show Tost
Asked
Active
Viewed 21 times
-2

ndmeiri
- 4,979
- 12
- 37
- 45
-
3Please always post your code _as text_ instead of an image. – zsmb13 Jul 06 '18 at 07:26
1 Answers
0
Your issue is that you've named your parameters p0
, p1
, etc. If you give them their normal names, you can refer to them with those going forward:
AdapterView.OnItemClickListener { parent, view, position, id ->
// use parameter by these names
}

zsmb13
- 85,752
- 11
- 221
- 226