GridLayoutManager動態設置spancount

GridLayoutManager動態設置spancount 以前發現了個問題,那就是明明動態設置了spancount,爲什麼老是沒有想要的效果? 如下即是我設置的代碼:web val gridLayoutManager = GridLayoutManager(context, 2) gridLayoutManager.spanSizeLookup = object : G
相關文章
相關標籤/搜索