I have a recycler view with different View Holders.
A couple of view holders have image views which I pass into Glide to display images.
The problem is, when
1 . add android:adjustViewBounds="true" to ImageView
android:adjustViewBounds="true"
2.Change the following code to Glide
Glide.with(context).asBitmap().load(imgUrl) .apply(RequestOptions() .fitCenter() .placeholder(R.drawable.default_img) .error(R.drawable.error_img)) .into(ImageView)