Android Utililty Methods Activity Finish

List of utility methods to do Activity Finish

Description

The list of methods to do Activity Finish are organized into topic(s).

Method

voidfinishAll()
finish All
for (int i = actList.size() - 1; i >= 0; i--) {
    actList.get(i).finish();
actList.clear();
voidendAppFailure(Activity activity, int id)
end App Failure
Toast.makeText(activity, activity.getResources().getString(id),
        Toast.LENGTH_LONG).show();
activity.finish();