how to start activity in adapter android
button.setOnClickListener(v -> {
Intent intent = new Intent(v.getContext(), SecondActivity.class);
v.getContext().startActivity(intent);
});
//how to start activity in adapter android
how to start activity in adapter android
button.setOnClickListener(v -> {
Intent intent = new Intent(v.getContext(), SecondActivity.class);
v.getContext().startActivity(intent);
});
//how to start activity in adapter android
start an activity in adapter
override fun onClick(v: View?) {
val intent = Intent(v.context, TimerActivity::class.java)
v.context.startActivity(intent)
}
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us