加载更多可以加载更多

pull/433/head
10bits 4 years ago committed by GitHub
parent b0f740dc82
commit e19ecbadc1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      app/src/main/java/io/legado/app/ui/widget/recycler/LoadMoreView.kt

@ -33,6 +33,12 @@ class LoadMoreView(context: Context) : FrameLayout(context) {
rotate_loading.hide()
}
fun hasMore() {
hasMore = true
tv_text.invisible()
rotate_loading.show()
}
fun noMore(msg: String? = null) {
hasMore = false
rotate_loading.hide()

Loading…
Cancel
Save