0
How to change layout using recycleradapter listview click listener in android
1 Answer
0
If you want to change the shape of the adapter what layout, you can do in the xml or by code:
XML: In the main activity xml, type in this:
"LayoutManager=LinearLayout"
Kotlin: Within the ViewHolder:
RecyclerView.LayoutManager = LinearLayoutManager(this)