We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
使用了.enableOutsideTouchableDissmiss(false),点击手机返回键,popUpWindow消失,想做强制升级,想监控手机返回。是否能设置或者监听。谢谢
The text was updated successfully, but these errors were encountered:
pop.getContentView().setOnKeyListener(new OnKeyListener() { @OverRide public boolean onKey(View v, int keyCode, KeyEvent event) { if (keyCode == KeyEvent.KEYCODE_BACK) { pop.dismiss(); return true; } return false; } }); 网上这种做法,好像并不行,我的手机是红米,Android6.0以上的!
Sorry, something went wrong.
上面的代码好像不起作用,控制不了返回键
No branches or pull requests
使用了.enableOutsideTouchableDissmiss(false),点击手机返回键,popUpWindow消失,想做强制升级,想监控手机返回。是否能设置或者监听。谢谢
The text was updated successfully, but these errors were encountered: