We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89ee8b5 commit 0cd4d14Copy full SHA for 0cd4d14
README.md
@@ -0,0 +1,29 @@
1
+# iOSLoadingView
2
+iOS like loading drawable
3
+# start
4
+```
5
+allprojects {
6
+ repositories {
7
+ ...
8
+ maven { url 'https://jitpack.io' }
9
+ }
10
+}
11
12
13
+dependencies {
14
+ implementation 'com.github.SkywalkerDarren:iOSLoadingView:v1.0'
15
16
17
+# usage
18
+```kotlin
19
+val loading = IosLoadingDrawable(
20
+ context = this, // context
21
+ paintColor = Color.YELLOW, // color
22
+ paintWidth = 10.dp2dx(), // line width in px
23
+ lineCount = 6, // number of line
24
+ rotateDuration = 500L // animation duration
25
+)
26
+loading.percents = 0.5f // range in 0 to 1f
27
+loading.start() // start animtaion
28
+loading.pause() // pause animation
29
0 commit comments