|
|
@ -32,7 +32,13 @@ class LoadMoreView(context: Context) : FrameLayout(context) { |
|
|
|
fun stopLoad() { |
|
|
|
fun stopLoad() { |
|
|
|
rotate_loading.hide() |
|
|
|
rotate_loading.hide() |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fun hasMore() { |
|
|
|
|
|
|
|
hasMore = true |
|
|
|
|
|
|
|
tv_text.invisible() |
|
|
|
|
|
|
|
rotate_loading.show() |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
fun noMore(msg: String? = null) { |
|
|
|
fun noMore(msg: String? = null) { |
|
|
|
hasMore = false |
|
|
|
hasMore = false |
|
|
|
rotate_loading.hide() |
|
|
|
rotate_loading.hide() |
|
|
@ -44,4 +50,4 @@ class LoadMoreView(context: Context) : FrameLayout(context) { |
|
|
|
tv_text.visible() |
|
|
|
tv_text.visible() |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|