scwang90 / SmartRefreshLayout

🔥下拉刷新、上拉加载、二级刷新、淘宝二楼、RefreshLayout、OverScroll,Android智能下拉刷新框架,支持越界回弹、越界拖动,具有极强的扩展性,集成了几十种炫酷的Header和 Footer。
https://segmentfault.com/a/1190000010066071
Apache License 2.0
24.9k stars 4.95k forks source link

ConstraintLayout下0dp高度问题 #1425

Open zengcanxiang opened 2 years ago

zengcanxiang commented 2 years ago

我这边发现,如果SmartRefreshLayout在ConstraintLayout下面,通过top_bottom bottom_bottom 加 height ="0dp"来布局的话,会导致SmartRefreshLayout里的recyclerView一直在测量高度,导致onBindViewHolder方法一直回调。

而使用match_parent或者wrap_content的时候,会导致经典刷新的footer,覆盖在recyclerView上面

WeiLianYang commented 1 year ago

相同的问题,请问解决了吗?