Skip to content

Commit 91d9a08

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents dd3b6fb + fbfcd41 commit 91d9a08

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ Add dependencies in build.gradle.
3030
Add the AVLoadingIndicatorView to your layout:
3131
```java
3232
<com.wang.avi.AVLoadingIndicatorView
33+
android:id="@+id/avloadingIndicatorView"
3334
android:layout_width="wrap_content"
3435
android:layout_height="wrap_content"
3536
android:visibility="visible" //visible or gone
@@ -43,11 +44,11 @@ Add the AVLoadingIndicatorView to your layout:
4344
It's very simple use just like Progressbar.
4445
```java
4546
void startAnim(){
46-
findViewById(R.id.avloadingIndicatorView).setVisible(View.Visible);
47+
findViewById(R.id.avloadingIndicatorView).setVisibility(View.VISIBLE);
4748
}
4849

4950
void stopAnim(){
50-
findViewById(R.id.avloadingIndicatorView).setVisible(View.Gone);
51+
findViewById(R.id.avloadingIndicatorView).setVisibility(View.GONE);
5152
}
5253

5354
```
@@ -105,7 +106,7 @@ As seen above in the **Demo**, the indicators are as follows:
105106

106107
##Contact me
107108

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 :)
109110

110111
[Email](mailto:81813780@qq.com)
111112

0 commit comments

Comments
 (0)