android - Shared element transition: image view turns white -


i have recycler view containing bunch of images. when tap on 1 of them detail activity launched, transitioning image. problem while animation running image view turns white moment doen't good. i'm using glide load images if matters. thank in advance!

i have solution if interested. problem image wasn't loaded @ time animation performed. work around keep transition postponed until image loaded.

postponeentertransition(); //postpone transition  startpostponedentertransition(); //proceede when callback called 

Comments

Popular posts from this blog

java - SSE Emitter : Manage timeouts and complete() -

jquery - uncaught exception: DataTables Editor - remote hosting of code not allowed -

java - How to resolve error - package com.squareup.okhttp3 doesn't exist? -