junixapp / XPopup

🔥XPopup2.0版本重磅来袭,2倍以上性能提升,带来可观的动画性能优化和交互细节的提升!!!功能强大,交互优雅,动画丝滑的通用弹窗!可以替代Dialog,PopupWindow,PopupMenu,BottomSheet,DrawerLayout,Spinner等组件,自带十几种效果良好的动画, 支持完全的UI和动画自定义!(Powerful and Beautiful Popup for Android,can absolutely replace Dialog,PopupWindow,PopupMenu,BottomSheet,DrawerLayout,Spinner. With built-in animators , very easy to custom popup view.)
Apache License 2.0
7.78k stars 1.17k forks source link

vivoX60系统为Android13手势返回没屏蔽掉 #1214

Open matianbo12345 opened 6 months ago

matianbo12345 commented 6 months ago

basePopupView = new XPopup.Builder(getContext()) .dismissOnBackPressed(false) // 按返回键是否关闭弹窗,默认为true .dismissOnTouchOutside(false) // 点击外部是否关闭弹窗,默认为true .asCustom(customPopupResult) .show(); 已经设定了禁止返回按键消失,还是能够从侧边返回导致xpop消失

matianbo12345 commented 6 months ago

implementation ('com.github.li-xiaojun:XPopup:2.10.0'){ exclude group: "com.davemorrissey.labs", module: "subsampling-scale-image-view-androidx" }版本为这个

LongZhouHeng commented 6 months ago

<application android:enableOnBackInvokedCallback="true",如果这样启用了,新版本也是没用的,直接关掉这个开关,会直接向下兼容