Jump to content
Enpass Discussion Forum

Kotlin Intent error


sivanagamahesh

Recommended Posts

I have the accompanying code and am getting a blunder with the Intent. It is a result of the this I am genuinely sure.  Android

listView.onItemClickListener = question : OnItemClickListener { 

abrogate 

fun onItemClick(parent: AdapterView<*>, see: View, 

position: Int, id: Long) { 

val aim = Intent(this, MyActivity::class.java) 

startActivity(intent) 

}

plz Any sugessions provide me

Edited by sivanagamahesh
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...