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

遇到一些bug #33

Closed
hegaojian opened this issue Aug 19, 2019 · 0 comments
Closed

遇到一些bug #33

hegaojian opened this issue Aug 19, 2019 · 0 comments

Comments

@hegaojian
Copy link

小米6 Android 9 ,项目没有设置窗口透明

在BaseActivity中配置了侧滑具体代码如下:
/**
* 初始化滑动返回
*/
open fun initSlidable() {
//activity侧滑返回
smartSwipe = SmartSwipe.wrap(this)
.addConsumer(ActivitySlidingBackConsumer(this))
.setRelativeMoveFactor(0.5F)
.enableLeft().apply {
//关闭返回
if(!SettingUtil.getSlidable(this@BaseActivity)){
lockLeft()
}else{
//不关闭侧滑返回
unlockLeft()
}
}
}
问题1:进入SettingActivity中 如果一开始是unlockLeft 状态下,代码修改为lockLeft 无效果,当前Activity还是可以侧滑返回,如果一开始是lockLeft状态下,代码修改为unlockLeft 就没问题,侧滑返回可以执行
问题2: 当进入一个Activity时,如果有输入法弹出,弹出的这块区域一开始会是黑色的背景,后面弹出没这个问题
问题3:很奇怪,我根据作者您的文档配置的防微信返回效果,返回是可以了,但是上个界面没有跟随联动效果啊

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

1 participant