如何实现非对称StaggeredLayoutManager

时间:2020-10-17 13:48:13

标签: android android-recyclerview

我有一个布局,其中包含3列,每列的跨度大小有所不同,第一个是1个跨度,第二个是2个跨度,第三个是1个跨度,就像这张图片一样:

enter image description here

我尝试使用StaggeredLayoutManager,但它不支持spansizelookup,如果使用GridLayoutManager,它将像这样:

enter image description here

0 个答案:

没有答案
相关问题