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

右滑返回的过程中,快速左滑一下会闪屏 #78

Open
zhou7126 opened this issue Aug 30, 2020 · 2 comments
Open

右滑返回的过程中,快速左滑一下会闪屏 #78

zhou7126 opened this issue Aug 30, 2020 · 2 comments

Comments

@zhou7126
Copy link

问题描述

使用的是最新版的微信侧滑的例子:
// 主Activity不需要侧滑返回功能,其它Activity都采用仿微信侧滑返回效果
SmartSwipeBack.activitySlidingBack(getApplication(), new SmartSwipeBack.ActivitySwipeBackFilter() {
@OverRide
public boolean onFilter(Activity activity) {
//根据传入的activity,返回true代表需要侧滑返回;false表示不需要侧滑返回
return !(activity instanceof MainActivity);
}
}, 0, 0x08000000, 0xFFFF0000, 0
, (float) 0.5, 1);

右滑返回的过程中,快速左滑一下概率性出现闪黑屏或者黄屏。

baef38f56010e5f61be1a5f45e1336b32020830920352

@zhou7126
Copy link
Author

90ae3aab0c372b844e4a7251f6bab6b72020830941273

@sunbeams001
Copy link

类似问题,我这边父 Activity 主体是个 ViewPager,子 Activity 返回后马上左/右翻页会造成整个 Activity 被拉动

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

2 participants