Skip to content

Commit

Permalink
兼容旧版
Browse files Browse the repository at this point in the history
  • Loading branch information
xiandanin committed Apr 17, 2017
1 parent fc1c1a2 commit 783e474
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Empty file modified gradlew
100644 → 100755
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
@Deprecated
public class LoadingBar {

public void show(View parent) {
public static void show(View parent) {
com.dyhdyh.widget.loading.bar.LoadingBar.make(parent).show();
}

public void show(View parent, final View loadingView , View.OnClickListener listener) {
public static void show(View parent, final View loadingView , View.OnClickListener listener) {
com.dyhdyh.widget.loading.bar.LoadingBar.make(parent, new LoadingFactory() {
@Override
public View onCreateView(ViewGroup parent) {
Expand All @@ -28,7 +28,7 @@ public View onCreateView(ViewGroup parent) {

}

public void cancel(View parent) {
public static void cancel(View parent) {
com.dyhdyh.widget.loading.bar.LoadingBar.cancel(parent);
}

Expand Down

0 comments on commit 783e474

Please sign in to comment.