I am trying to load gif using Fresco Like this.
I have initialize Fresco.initialize(this); in Application onCreate() method.
In XML I just declare SimpleDraweeView like this.
<com.facebook.drawee.view.SimpleDraweeView
android:id="@+id/draweeView"
android:layout_width="200dp"
android:layout_height="100dp"
android:padding="5dp" />
I am using this in Adapter and in andpter inflating gives me error like this.
Error : android.view.InflateException: Binary XML file line #8: Binary XML file line #8: Error inflating class com.facebook.drawee.view.SimpleDraweeView
Can anyone tell me what is a problem?
sorry it's my mistake in gradle fresco version was 0.13 when I change to 1.3 it work now
Most helpful comment
sorry it's my mistake in gradle fresco version was 0.13 when I change to 1.3 it work now