You have defined the placeHolder () method, which will be loaded at the initial moment of time, and when the glide path loads the image based on the given URL, then move the Loaded Image with the placeHolder image. which will appear in imageView. This is an uploaded image set to imageView based on the specified method.
e.g. cropCenter (), fitCenter (), etc.
do not use cropCenter (), it will crop the image from the center and place it in your View image so that the image quality disappears.
use fitCenter () method.
<ImageView android:id="@+id/conversation_team_photo" android:layout_width="56dp" android:layout_height="56dp" android:scaleType="fitCenter" />
and I determined the way bast use glide here is the best way to use glide.
Abdul rizwan
source share