start activity from adapter 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)
}