Commit 40b3a464 authored by chengkun's avatar chengkun

更新下拉刷新,上拉加载状态

parent 0fc58d39
......@@ -130,5 +130,11 @@ class OrderListActivity : BaseMvvmActivity<BorderActivityOrderListBinding, Order
super.onPause()
//重置状态不影响下次请求
vm._state = OrderListViewModel.REQUEST_COMPLETE
if (binding.smartRefresh.isRefreshing) {
binding.smartRefresh.finishRefresh()
}
if (binding.smartRefresh.isLoading) {
binding.smartRefresh.finishLoadMore()
}
}
}
......@@ -35,7 +35,7 @@ allprojects {
ext {
group_id = 'com.yidian.yacmodule.shenghuoquan'
artifact_id = ''
version_name = '0.0.19-SNAPSHOT'
version_name = '0.0.20-SNAPSHOT'
}
task clean(type: Delete) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment