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

android 10 以上,有图片的地方都会闪一下(有截图,和视频,麻烦帮忙看看) #191

Open
hexiangbing opened this issue Aug 4, 2020 · 2 comments

Comments

@hexiangbing
Copy link

[

视频.zip

](url)
image

@NetaGuo
Copy link

NetaGuo commented Mar 1, 2021

😄 我也遇到了 因为重新绘制了 我已经解决啦 方案是:
attachViewToParent 和 DetachViewToparent 这一对是 shadow操作precontentview
removeViewInLayout 和 addViewInLayout 这一对是 preDecor操作precontentview

@799837663
Copy link

/**
 * BaseActivity 滑动返回执行完毕,销毁当前 Activity
 */
@Override
public void onSwipeBackLayoutExecuted() {
    if(Build.VERSION.SDK_INT < Build.VERSION_CODES.P){
        mSwipeBackHelper.swipeBackward();
    }else {
        BGAKeyboardUtil.closeKeyboard(this);
        finish();
        //TODO 动画造成关闭界面闪动

// mSwipeBackHelper.executeSwipeBackAnim();
overridePendingTransition(0,0);
}
}

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