- Notifications
You must be signed in to change notification settings - Fork5
Grid Layout Provider built on top of RecyclerListView!
License
muskeinsingh/recyclerlistview-gridlayoutprovider
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Grid Layout Provider built on top ofRecyclerListView!. Works beautifully on Android, iOS and web. Compatible with recyclerlistview version greater than 1.4.0-beta.6.
Why use GridLayoutProvider?
In cases where you are rendering a list of grids - you would have to explicitly calculate and tell the width/height of each cell. Grid Layout Provider minimises that effort for the users as it calculates the width/height based on the spans each index/type wants to consume. Tell us the type of each cell, max span that any cell can achieve and the span for each cell - we will calculate the width (in case of vertical list)/height (in case of horizontal list) for you. Do checkout our sample code to understand more.
GIF
API
It's a pretty simple and intuitive API. Grid Layout Provider needs just 4 things:
- Max Span
- Layout type for each index (similar to Layout Provider)
- Span for each index
- Width/Height for each index (width only for vertical scrollable lists and height only for horizontal scrollable lists)
Sample
Report Issues
Please raise issueshere
Contributors
Contact Us
Email us atcross-platform@flipkart.com in case of any queries
About
Grid Layout Provider built on top of RecyclerListView!
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors3
Uh oh!
There was an error while loading.Please reload this page.