Skip to content
New issue

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

设置 physics: BouncingScrollPhysics() 之后,加载更多无法触发 #861

Open
Junesui opened this issue Sep 2, 2024 · 1 comment

Comments

@Junesui
Copy link

Junesui commented Sep 2, 2024

使用EasyRefresh.builder
其中listview,设置了physics: BouncingScrollPhysics() 之后,无法触发onLoad方法

疑问:physics只能设置childBuilder传递的physics吗,不能设置BouncingScrollPhysics吗?
ps:因为我使用了extendednestscrollview,如果physics不设置BouncingScrollPhysics的话,tabbar的listview滑动,会影响到其他tabbar的listview的位置

如首页写的这样
image

@fikretsengul
Copy link

fikretsengul commented Oct 14, 2024

Not only loading more but also refreshing stops working. For ex.

EasyRefresh.builder(
childBuilder: (_, ScrollPhysics refreshPhysics) {
return PagedListView<int, T>(
physics: BouncingScrollPhysics(parent: refreshPhysics)

PagedListView a widget that uses ListView.builder. This doesn't work but this works:
physics: refreshPhysics

why?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants