firebase - android imageview set gif but flashing black -


i use glide load gif custom dialog,

glide.with(home_activity.this)                 .load(uri.parse("https://firebasestorage.googleapis.com/v0/b/brushgo-67813.appspot.com/o/image%2ffirework.gif?alt=media&token=c3d69e19-6be0-415e-86ff-7aeed07f3c51"))                 .dontanimate()                 .placeholder(r.drawable.firework16)                 .diskcachestrategy(diskcachestrategy.all)                 .into(fireworkarray[i]); 

but when run application, imageview flashing black,

just this video.

but tried change gif, , checked gif, looks not gif's question,

does face same problem?

and how can solve it?

try following

glide 4.0.0-rc0

glide.with(this).load(url).asgif().into(imageview); 

Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -