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();
2.1m questions
2.1m answers
60 comments
57.0k users