Skip to content

*DEPRECATED* A simple android library to play with GIF

Notifications You must be signed in to change notification settings

IamIsPra/EasyGifView

Repository files navigation

EasyGifView

A simple android library to play with GIF

Android Arsenal API Donate

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

 <repositories>
	 <repository>
	     <id>jitpack.io</id>
	     <url>https://jitpack.io</url>
	 </repository>
 </repositories>

2 Add the dependency

 <dependency>
    <groupId>com.github.IsPra94</groupId>
    <artifactId>EasyGifView</artifactId>
    <version>1.0.1</version>
 </dependency>

In Your Android Project

<com.medialablk.easygifview.EasyGifView
    android:id="@+id/easyGifView"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:src="@drawable/dance" />
    
    
    
EasyGifView easyGifView = (EasyGifView) findViewById(R.id.easyGifView);
easyGifView.setGifFromResource(R.drawable.play); //Your own GIF file from Resources

About

*DEPRECATED* A simple android library to play with GIF

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages