How to finish an activity from an Adapter..? March 18, 2023 by Tarik type cast it with activity. ((Activity)context).finish();