Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

大佬 怎么监听点击物理返回键不让提示升级的弹窗隐藏 #256

Closed
nanian opened this issue Jun 21, 2019 · 3 comments
Closed

Comments

@nanian
Copy link

nanian commented Jun 21, 2019

No description provided.

@nanian
Copy link
Author

nanian commented Jun 21, 2019

大佬 怎么监听点击物理返回键不让提示升级的弹窗隐藏

@a120476536
Copy link

这个屏蔽就好了 baseDialog.setOnKeyListener(new DialogInterface.OnKeyListener() {
@OverRide
public boolean onKey(DialogInterface dialog, int keyCode, KeyEvent event) {
if (keyCode == KeyEvent.KEYCODE_BACK) {
return true;
}
return false;
}
});

@AlexLiuSheng
Copy link
Owner

fixed in 2.2.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants