https://github.com/agilie/mobilegift
Simplifies interaction with GIF images.
https://github.com/agilie/mobilegift
animation easter fox gif gif-animation gif-image kotlin-android viewgroup
Last synced: 10 months ago
JSON representation
Simplifies interaction with GIF images.
- Host: GitHub
- URL: https://github.com/agilie/mobilegift
- Owner: agilie
- License: mit
- Created: 2017-04-13T11:56:26.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-07-11T09:21:19.000Z (almost 9 years ago)
- Last Synced: 2025-04-19T21:24:47.854Z (about 1 year ago)
- Topics: animation, easter, fox, gif, gif-animation, gif-image, kotlin-android, viewgroup
- Language: Kotlin
- Homepage: https://agilie.com
- Size: 3.66 MB
- Stars: 45
- Watchers: 11
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# AGMobileGift
[  ](https://bintray.com/agilie/maven/AGMobileGiftInterface/_latestVersion)
Check the [fox](https://dribbble.com/shots/3459471-Animations-for-GitHub-open-source-libraries) and the [ladybug](https://dribbble.com/shots/3432735-Animations-for-GitHub-open-source-libraries) gifs on Dribbble!

[Agilie Team](https://agilie.com/en/ios-development-services) 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*.
````kotlin
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:
````
com.agilie
mobile-gift
1.0
pom
````
## Requirements
AGMobileGift works on Android API 19+
## Troubleshooting
Problems? Check the [Issues](https://github.com/agilie/AGMobileGift/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](https://www.agilie.com?utm_source=github&utm_medium=referral&utm_campaign=Git_Android_Kotlin&utm_term=MobileGift)
## Contributors
- [Eugene Surkov](https://github.com/ukevgen)
## Contact us
If you have any questions, suggestions or just need a help with web or mobile development, please email us at
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.md) License (MIT) Copyright © 2017 [Agilie Team](https://www.agilie.com?utm_source=github&utm_medium=referral&utm_campaign=Git_Android_Kotlin&utm_term=MobileGift)