We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug 使用的是4.1.4开源库和github中demo。 当NestedScrollView+嵌套+RecyclerView 会发现helper = QuickAdapterHelper.Builder(mAdapter) .setTrailingLoadStateAdapter(object : OnTrailingListener { override fun onLoad() { request() }
override fun onFailRetry() { request() } override fun isAllowLoading(): Boolean { return !viewBinding.refreshLayout.isRefreshing } }).build() 中 onload会一直加载。
如果使用helper.trailingLoadStateAdapter?.checkDisableLoadMoreIfNotFullPage();方法 ,则无法自动加载。 重现不中 只需要 把demo中的 activity_load_more.xml布局改成 <androidx.swiperefreshlayout.widget.SwipeRefreshLayout android:id="@+id/refresh_layout" android:layout_width="match_parent" android:layout_height="match_parent" android:background="@color/bg" android:orientation="vertical">
<androidx.core.widget.NestedScrollView android:layout_width="match_parent" android:layout_height="match_parent"> <androidx.recyclerview.widget.RecyclerView android:id="@+id/rv_list" android:layout_width="match_parent" android:layout_height="match_parent" android:nestedScrollingEnabled="false"/> </androidx.core.widget.NestedScrollView> </androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
The text was updated successfully, but these errors were encountered:
请问怎么解决的?
Sorry, something went wrong.
添加 android:nestedScrollingEnabled="false" 也不行
No branches or pull requests
Describe the bug
使用的是4.1.4开源库和github中demo。
当NestedScrollView+嵌套+RecyclerView 会发现helper = QuickAdapterHelper.Builder(mAdapter)
.setTrailingLoadStateAdapter(object : OnTrailingListener {
override fun onLoad() {
request()
}
如果使用helper.trailingLoadStateAdapter?.checkDisableLoadMoreIfNotFullPage();方法 ,则无法自动加载。
重现不中 只需要 把demo中的 activity_load_more.xml布局改成
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
android:id="@+id/refresh_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/bg"
android:orientation="vertical">
The text was updated successfully, but these errors were encountered: