Reputation: 1
I am using the these dependencies:
compile 'com.felipecsl:gifimageview:2.1.0'
compile 'commons-io:commons-io:2.4'
But it couldn't resolve the first one. I'm using Android Studio 2.3.2.
Upvotes: 0
Views: 5936
Reputation: 564
Do you know Glide? It's like Picasso, a library to load an image into an ImageView, but it's "recommended by Google". Anyway, this library is similar to Picasso, but the difference is the ability to load a gif :)
Why not giving a try ? You can follow this stackoverflow example given by another member: Displaying GIF in ImageView using Glide
Upvotes: 0
Reputation: 188
try this library
compile 'pl.droidsonroids.gif:android-gif-drawable:1.1.0'
and this is the xml
<pl.droidsonroids.gif.GifImageView
android:scaleType="centerCrop"
android:src="@drawable/gif1"
android:layout_width="150dp"
android:layout_height="150dp" />
Upvotes: 1