make new activity in adapter 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)
}