`quickAdapterHelper = new QuickAdapterHelper.Builder(adHomeRecmand).build();
HeaderAdFootLayout headerAdFootLayout = new HeaderAdFootLayout(R.layout.foot_backtotop_height);
quickAdapterHelper.addAfterAdapter(headerAdFootLayout.setOnItemClickListener(new BaseQuickAdapter.OnItemClickListener() {
@OverRide
public void onClick(@nonnull BaseQuickAdapter<Object, ?> baseQuickAdapter, @nonnull View view, int i) {
recyclerView.scrollToPosition(0);
}
}));`
你好,我是老菜鸟,请问如果是宫格布局,quickAdapterHelper.addAfterAdapter用这个不能在底部跨行展开,比如我的宫格有2列,那么这个尾巴只能展示在第一列,3.8的版本是可以的,这个不知道怎么设置。
`quickAdapterHelper = new QuickAdapterHelper.Builder(adHomeRecmand).build(); HeaderAdFootLayout headerAdFootLayout = new HeaderAdFootLayout(R.layout.foot_backtotop_height);
quickAdapterHelper.addAfterAdapter(headerAdFootLayout.setOnItemClickListener(new BaseQuickAdapter.OnItemClickListener() { @OverRide public void onClick(@nonnull BaseQuickAdapter<Object, ?> baseQuickAdapter, @nonnull View view, int i) { recyclerView.scrollToPosition(0); } }));`