CymChad / BaseRecyclerViewAdapterHelper

BRVAH:Powerful and flexible RecyclerAdapter
http://www.recyclerview.org/
MIT License
24.36k stars 5.16k forks source link

宫格类型添加脚无法跨列 #4675

Closed yaofangwx123 closed 2 months ago

yaofangwx123 commented 2 months ago

你好,我是老菜鸟,请问如果是宫格布局,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); } }));`

yaofangwx123 commented 2 months ago

不好意思,老菜鸟认真看了一下closed的问题实现FullSpanAdapterType接口解决了。