Skip to content

agilie/MobileGift

Repository files navigation

AGMobileGift

Download

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.

Example

How does it work?

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)

Our example of using AGMobileGift

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.

Usage

Gradle

Add dependency in your build.gradle file:

compile 'com.agilie:mobile-gift:1.0'

Maven

Add rependency in your .pom file:

<dependency>
  <groupId>com.agilie</groupId>
  <artifactId>mobile-gift</artifactId>
  <version>1.0</version>
  <type>pom</type>
</dependency>

Requirements

AGMobileGift works on Android API 19+

Troubleshooting

Problems? Check the Issues block to find the solution or create an new issue that we will fix asap.

Author

This library is open-sourced by Agilie Team info@agilie.com

Contributors

Contact us

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!

License

The MIT License (MIT) Copyright © 2017 Agilie Team