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.
If you have access to the running view of the Activity you want to finish (for example, you are in a click listener), you could do:
((Activity)getContext()).finish();
(With thanks to 2red13 to get me here).