Check the fox and the ladybug gifs on Dribbble!
Agilie Team would like to offer you our new lightweight open-source library called AGMobileGiftInterface. This library simplifies interaction with GIF images and can be easily integrated into your project.
When can you use AGMobileGift? Use our library if you need to show a GIF image after performing a certain pre-specified action. AGMobileGiftInterface can also be helpful for creating animated greetings, designing splash screens or loading, upgrading and supplementing online games as well as in other similar cases. Our library helps you achieve the desired result in an easy way with as little lines of code as possible.
After an animated picture has been played, the controller managing it closes. And if you want to add a new image, just put it into the project and provide the GIF path as parameter and call method show.
val giftInterfaceImpl = AGMobileGiftInterfaceImpl()
giftInterfaceImpl.show(this, R.drawable.lady_bug)
We’ve used this library when working on Easter greeting program. Quite simple, it has 3 GIF images in its reserve (Ladybird, Rabbit, Fox) but can also be supplemented with new ones. We made example to congratulate the use on the day of Easter.
Add dependency in your build.gradle
file:
compile 'com.agilie:mobile-gift:1.0'
Add rependency in your .pom
file:
<dependency>
<groupId>com.agilie</groupId>
<artifactId>mobile-gift</artifactId>
<version>1.0</version>
<type>pom</type>
</dependency>
AGMobileGift works on Android API 19+
Problems? Check the Issues block to find the solution or create an new issue that we will fix asap.
This library is open-sourced by Agilie Team info@agilie.com
If you have any questions, suggestions or just need a help with web or mobile development, please email us at
android@agilie.com
You can ask us anything from basic to complex questions.
We will continue publishing new open-source projects. Stay with us, more updates will follow!
The MIT License (MIT) Copyright © 2017 Agilie Team