File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ Add dependencies in build.gradle.
30
30
Add the AVLoadingIndicatorView to your layout:
31
31
``` java
32
32
< com.wang.avi. AVLoadingIndicatorView
33
+ android: id= " @+id/avloadingIndicatorView"
33
34
android: layout_width= " wrap_content"
34
35
android: layout_height= " wrap_content"
35
36
android: visibility= " visible" // visible or gone
@@ -43,11 +44,11 @@ Add the AVLoadingIndicatorView to your layout:
43
44
It's very simple use just like Progressbar.
44
45
``` java
45
46
void startAnim(){
46
- findViewById(R . id. avloadingIndicatorView). setVisible (View . Visible );
47
+ findViewById(R . id. avloadingIndicatorView). setVisibility (View . VISIBLE );
47
48
}
48
49
49
50
void stopAnim(){
50
- findViewById(R . id. avloadingIndicatorView). setVisible (View . Gone );
51
+ findViewById(R . id. avloadingIndicatorView). setVisibility (View . GONE );
51
52
}
52
53
53
54
```
@@ -105,7 +106,7 @@ As seen above in the **Demo**, the indicators are as follows:
105
106
106
107
##Contact me
107
108
108
- if you have a better idea or way on this project, please let me know, thanks:)
109
+ If you have a better idea or way on this project, please let me know, thanks :)
109
110
110
111
[ Email] ( mailto:81813780@qq.com )
111
112
You can’t perform that action at this time.
0 commit comments