Android lollipop shared elements transition blink / flash

∥☆過路亽.° 提交于 2019-11-30 08:22:46
radzio

Hurray! I've managed to solve this problem.

Blinking screen is common problem described here: Blinking screen on image transition between activities (thx @AlexLockwood)

Blinking shared element was caused by DrawerLayout. I was starting new Activity to soon. When I've moved ActivityCompat.startActivity to DrawerLayout.DrawerListener's onDrawerClosed method everything started working like a charm.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!