RecyclerView, StaggeredGridLayoutManager Refresh Bug

前端 未结 2 1682
慢半拍i
慢半拍i 2021-02-13 05:12

I used support library v7-21 and the RecyclerView isn\'t showing correctly. GridLayoutManager and LinearLayoutManager is Ok. Problem only

2条回答
  •  傲寒
    傲寒 (楼主)
    2021-02-13 05:44

    A simple solution which i found, is that you have to set again the layout manager when you set adapter to your recycler view.

提交回复
热议问题