Write below code after startactivity(intent) for finish the activity from the view/class.
((Activity_Name1) context).finish();
Enjoy :-----)
Don’t forget to provide feedback or follow this blog, if you find this blog is useful.
((Activity_Name1) context).finish();
Enjoy :-----)
Don’t forget to provide feedback or follow this blog, if you find this blog is useful.
No comments:
Post a Comment