Not able to find perfect solution for loading a gif image in placeholder
Glide
.with(context)
.load("imageUrl")
.asGif()
.placeholder(R.drawable.gifImage)
.crossFade()
.into(imageView)
Tried asGif() property of Glide version 3.7.0 too. But no Luck!
Here is The Best Way..
Glide.with(getContext()).load(item[position])
.thumbnail(Glide.with(getContext()).load(R.drawable.preloader))
.fitCenter()
.crossFade()
.into(imageView);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With