A download button with pretty cool animation, this is an implemention of https://dribbble.com/shots/2012292-Download-Animation
Enjoying it :)
One scene is when you want to download something.
startAnimating()
setProgress()
And if you want to reload
- use
reset()
, the button will recover to initial state.
That's all.
Gradle
- Step1
repositories {
maven {
url "https://jitpack.io"
}
}
- Step2
dependencies {
compile 'com.github.fenjuly:ArrowDownloadButton:9e15b85e8a'
}
Maven
- Step1
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
- Step2
<dependency>
<groupId>com.github.fenjuly</groupId>
<artifactId>ArrowDownloadButton</artifactId>
<version>9e15b85e8a</version>
</dependency>
You may now use this library with React Native via the module here