If I have a reference to Context, is it possible to finish the current activity?
Context
I don't have the reference to current activity.
yes, with a cast:
((Activity) ctx).finish();
1.4m articles
1.4m replys
5 comments
57.0k users