EasyGifView
A simple android library to play with GIF
Usage
Gradle
1 Add it in your root build.gradle at the end of repositories
allprojects {
repositories {
maven { url 'https://jitpack.io' }
}
}
2 Add the dependency
dependencies {
compile 'com.github.IsPra94:EasyGifView:1.0.1'
}
Maven
1 Add the JitPack repository to your build file
jitpack.io
https://jitpack.io
2 Add the dependency
com.github.IsPra94
EasyGifView
1.0.1
EasyGifView easyGifView = (EasyGifView) findViewById(R.id.easyGifView); easyGifView.setGifFromResource(R.drawable.play); //Your own GIF file from Resources"> In Your Android Project
EasyGifView easyGifView = (EasyGifView) findViewById(R.id.easyGifView);
easyGifView.setGifFromResource(R.drawable.play); //Your own GIF file from Resources