button.setOnClickListener(v -> {
Intent intent = new Intent(v.getContext(), SecondActivity.class);
v.getContext().startActivity(intent);
});
//how to start activity in adapter android
override fun onClick(v: View?) {
val intent = Intent(v.context, TimerActivity::class.java)
v.context.startActivity(intent)
}