I have an Android app and my app has 4 Activities. I am using CardView for switching the Activity. I want it so that when the user clicks the CardView the user will go to the targeted Activity.
The problem is I am using #Kotlin and I can't set CardView#OnClickListener
using Kotlin. How can I set the OnClickListener using Kotlin?