alexjlockwood / adp-activity-transitions

This sample app accompanies a series of blog posts I wrote on transitions in Android
https://www.androiddesignpatterns.com/2014/12/activity-fragment-transitions-in-android-lollipop-part1.html
541 stars 94 forks source link

Black blink when returning after orientation change #7

Open timautin opened 7 years ago

timautin commented 7 years ago

As you can see on this video: https://www.youtube.com/watch?v=CigNib7UI3g&feature=youtu.be , if you open the detail activity, rotate the device and come back, there's a black blink.

If you use the "Do not keep activities" developer option, sometimes it works, and sometimes the reenter transition never starts.

This is happening on a Nexus 5X. No problem on a Samsung Galaxy Note 5. Still, the Google Photos app does it perfectly, so there's a way to do it.