বিসমিল্লাহির রাহমানির রাহিম
Using Kotlin,
File 1:
Output Here:
------
Slide Recycler View
Just Change The Code:
Go To MainActivity.kt /
and copy the code
recycler_view_items.layoutManager = LinearLayoutManager(this,
/**
* eikhane LinearLayoutmanager.horizonta,false dewar karone . .. slide system e recyclerview ashbe
* example see it: https://drive.google.com/file/d/1tSMTfuRR2l0v7oh7astA5LVUnG2mGzuW/view?usp=sharing
*/
LinearLayoutManager.HORIZONTAL,false)
-------
Grid Layout Manager
If You Want To Covert It Grild Layout Manger ,,, The You need to follow the instruction:
Output Example here:
recycler_view_items.layoutManager = GridLayoutManager(
/**eikhane grildLayoutmanager er karone , grildview ashbe sob kicu
* example dekhun... https://ibb.co/YdKNBmz
*/
this,3 // eikhane span holo ... koita shari hobe seta dekhanor jonno
)
Given above , Main Zipped File , You Need Just Edit MainActivity.kt ! (this code)
------
Without For Loop (manual) Program:
Output Here:
manual File with notepad
CardView Recycler:
Output Here:
Recylcer View With GirdView Using Span:
Output:
0 Comments