fix: 修复楼中楼弹出界面下拉异常
This commit is contained in:
parent
e2578b6a28
commit
d02c52fcc3
|
|
@ -127,6 +127,7 @@ class FloorFragment : BaseBottomSheetDialogFragment() {
|
|||
mLayoutManager = MyLinearLayoutManager(attachContext)
|
||||
refreshLayout.apply {
|
||||
ThemeUtil.setThemeForSmartRefreshLayout(this)
|
||||
setEnableNestedScroll(true)
|
||||
setOnRefreshListener { refresh() }
|
||||
setOnLoadMoreListener { load() }
|
||||
}
|
||||
|
|
@ -186,6 +187,7 @@ class FloorFragment : BaseBottomSheetDialogFragment() {
|
|||
if (jump) {
|
||||
mLayoutManager!!.scrollToPositionWithOffset(1, 0)
|
||||
}
|
||||
refreshLayout.setEnableRefresh(false)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
|
|
|||
|
|
@ -36,7 +36,6 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
app:srlDragRate="0.8"
|
||||
app:srlEnableNestedScrolling="true"
|
||||
app:srlEnableOverScrollBounce="true"
|
||||
app:srlEnableOverScrollDrag="true"
|
||||
android:layout_marginBottom="@dimen/reply_bar_height"
|
||||
|
|
|
|||
Loading…
Reference in New Issue