Reputation: 13
I installed Frescos's library as the website said and I went to add
<com.facebook.drawee.view.SimpleDraweeView
android:id="@+id/my_image_view"
android:layout_width="130dp"
android:layout_height="130dp"
fresco:placeholderImage=""
/>
then it say com.facebook.drawee doesn't found
I put the library in build.gradle
and put Fresco.initialize(this);
in Application class
Image From My App
Upvotes: 1
Views: 516
Reputation: 3539
Use this
compile 'com.facebook.fresco:fresco:1.7.1'
Instead of
compile 'com.facebook.fresco:fresco:1.7.0'
It should work.fresco
removed that class SimpleDraweeView
in 1.7.1 they upgraded
See link https://github.com/facebook/fresco/issues/1991
Upvotes: 2