BGASwipeBackLayout-Android icon indicating copy to clipboard operation
BGASwipeBackLayout-Android copied to clipboard

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

Open hexiangbing opened this issue 5 years ago • 2 comments

[

视频.zip

](url) image

hexiangbing avatar Aug 04 '20 11:08 hexiangbing

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

NetaGuo avatar Mar 01 '21 12:03 NetaGuo

/**
 * 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); } }

799837663 avatar Aug 04 '21 02:08 799837663