Answers for "linearlayout recyclerview android"

1

linearlayout horizontal in recyclerview

mRecyclerView.setLayoutManager(new LinearLayoutManager(this, LinearLayoutManager.HORIZONTAL, true));
Posted by: Guest on November-23-2020
0

recyclerview linearlayoutmanager kotlin

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

        list.layoutManager = linearLayoutManager
Posted by: Guest on August-04-2020

Code answers related to "linearlayout recyclerview android"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language