how to start activity from adapter in android code example
Example: start an activity in adapter
override fun onClick(v: View?) {
val intent = Intent(v.context, TimerActivity::class.java)
v.context.startActivity(intent)
}
override fun onClick(v: View?) {
val intent = Intent(v.context, TimerActivity::class.java)
v.context.startActivity(intent)
}