同步poyo 修复问题 #a40ba0ce

This commit is contained in:
zlzw 2024-10-31 16:59:43 +08:00
parent 71277bc75d
commit 7d68640200
2 changed files with 4 additions and 1 deletions

View File

@ -411,7 +411,9 @@ public class CommonRefreshView extends FrameLayout implements View.OnClickListen
refresh(); refresh();
} }
} }
public RecyclerView getRefreshView() {
return mRecyclerView;
}
public interface DataHelperNew { public interface DataHelperNew {
void loadData(int p); void loadData(int p);

View File

@ -245,6 +245,7 @@ public class MainHomeViewHolder2 extends AbsMainHomeChildViewHolder implements O
if (!canClick()) { if (!canClick()) {
return; return;
} }
mRefreshView.getRefreshView().scrollToPosition(0);
mAdapter.clearData(); mAdapter.clearData();
select = bean.getId(); select = bean.getId();
boolean flag = false; boolean flag = false;