📌  相关文章
📜  recyclerview linearlayoutmanager kotlin 代码示例

📅  最后修改于: 2022-03-11 14:53:32.732000             🧑  作者: Mango

代码示例1
// Initialize a new linear layout manager
        var linearLayoutManager: LinearLayoutManager = LinearLayoutManager(
            activity?.applicationContext, // Context
            LinearLayout.VERTICAL, // Orientation
            false // Reverse layout
        )

        list.layoutManager = linearLayoutManager