-2

What is the wrong in ListView per on click dont show Tost

ndmeiri
  • 4,979
  • 12
  • 37
  • 45

1 Answers1

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