How to change layout using recycleradapter listview click listener in android | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

How to change layout using recycleradapter listview click listener in android

28th Apr 2022, 5:58 PM
Lovish Verma
1 ответ
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)
7th May 2022, 10:33 AM
Georgi Tasev
Georgi Tasev - avatar