start an activity in adapter

Solutions on MaxInterview for start an activity in adapter by the best coders in the world

showing results for - "start an activity in adapter"
Niko
30 Jan 2019
1override fun onClick(v: View?) {
2	val intent = Intent(v.context, TimerActivity::class.java)
3
4	v.context.startActivity(intent)
5}