I have used the following code :
<com.facebook.drawee.view.SimpleDraweeView
android:id="@+id/sdv_single_image"
android:layout_width="match_parent"
android:layout_height="match_parent"
fresco:actualImageScaleType="fitCenter"
fresco:failureImageScaleType="center"
fresco:progressBarImage="@drawable/spinner_1"
fresco:progressBarImageScaleType="fitCenter"
fresco:retryImage="@drawable/spinner_1"
fresco:retryImageScaleType="fitCenter" />
But it didn't work in few cases.
I want that progress bar to be shown till the images get fully loaded from web service.It works when I use same above code for circular drawee view but not applicable for others.
Any help is appreciable. Thanks!