Yalantis / Context-Menu.Android

You can easily add awesome animated context menu to your app.

Home Page:https://yalantis.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

setClosableOutside destroy the current activity

nowfalsalahudeen opened this issue · comments

setClosableOutside close the current activity when touch the non button area and go back to the previous activity.. please take a look

I have the same problem, how to solve it?

try this:
@OverRide
public void onBackPressed() {
if (mMenuDialogFragment != null && mMenuDialogFragment.isAdded()) {
mMenuDialogFragment.dismiss();
} else{
finish();
}
}

Fixed in new 1.0.5 version. Commit: ca09b47
You can find changelog in the readme: https://github.com/Yalantis/Context-Menu.Android/blob/master/README.md