Open zengcanxiang opened 2 years ago
我这边发现,如果SmartRefreshLayout在ConstraintLayout下面,通过top_bottom bottom_bottom 加 height ="0dp"来布局的话,会导致SmartRefreshLayout里的recyclerView一直在测量高度,导致onBindViewHolder方法一直回调。
而使用match_parent或者wrap_content的时候,会导致经典刷新的footer,覆盖在recyclerView上面
相同的问题,请问解决了吗?
我这边发现,如果SmartRefreshLayout在ConstraintLayout下面,通过top_bottom bottom_bottom 加 height ="0dp"来布局的话,会导致SmartRefreshLayout里的recyclerView一直在测量高度,导致onBindViewHolder方法一直回调。
而使用match_parent或者wrap_content的时候,会导致经典刷新的footer,覆盖在recyclerView上面