How to set RecyclerView app:layoutManager=“” from XML?

前端 未结 6 1159
孤城傲影
孤城傲影 2020-12-02 06:08

How to set RecyclerView layoutManager from XML?

    

        
6条回答
  •  无人及你
    2020-12-02 06:54

    You can set the layout manager for recyclerview like this, app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"

提交回复
热议问题