{"id":16851256,"url":"https://github.com/muskeinsingh/recyclerlistview-gridlayoutprovider","last_synced_at":"2025-03-22T05:31:43.081Z","repository":{"id":49240361,"uuid":"139124995","full_name":"muskeinsingh/recyclerlistview-gridlayoutprovider","owner":"muskeinsingh","description":"Grid Layout Provider built on top of RecyclerListView!","archived":false,"fork":false,"pushed_at":"2021-06-22T11:24:33.000Z","size":90,"stargazers_count":42,"open_issues_count":9,"forks_count":5,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-05-13T07:42:42.918Z","etag":null,"topics":["60fps","cross-platform","grid-layout","perfomance","react-components","react-native","react-native-web","reactjs","recyclerview"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/muskeinsingh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-06-29T08:46:22.000Z","updated_at":"2024-01-12T17:59:19.000Z","dependencies_parsed_at":"2022-09-26T16:31:37.795Z","dependency_job_id":null,"html_url":"https://github.com/muskeinsingh/recyclerlistview-gridlayoutprovider","commit_stats":null,"previous_names":["muskeinsingh/recyclerlistview-gridlayoutmanager"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muskeinsingh%2Frecyclerlistview-gridlayoutprovider","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muskeinsingh%2Frecyclerlistview-gridlayoutprovider/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muskeinsingh%2Frecyclerlistview-gridlayoutprovider/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muskeinsingh%2Frecyclerlistview-gridlayoutprovider/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/muskeinsingh","download_url":"https://codeload.github.com/muskeinsingh/recyclerlistview-gridlayoutprovider/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244912800,"owners_count":20530764,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["60fps","cross-platform","grid-layout","perfomance","react-components","react-native","react-native-web","reactjs","recyclerview"],"created_at":"2024-10-13T13:27:28.706Z","updated_at":"2025-03-22T05:31:42.626Z","avatar_url":"https://github.com/muskeinsingh.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# recyclerlistview-gridlayoutprovider\n[![npm version](https://img.shields.io/npm/v/recyclerlistview-gridlayoutprovider.svg)](https://www.npmjs.com/package/recyclerlistview-gridlayoutprovider)\n[![travis](https://travis-ci.org/muskeinsingh/recyclerlistview-gridlayoutprovider.svg?branch=master)](https://travis-ci.org/muskeinsingh/recyclerlistview-gridlayoutprovider)\n[![npm](https://img.shields.io/npm/dm/recyclerlistview-gridlayoutprovider.svg?maxAge=2592000)](https://npmcharts.com/compare/recyclerlistview-gridlayoutprovider?minimal=true)\n[![License](https://img.shields.io/badge/License-Apache%202.0-brightgreen.svg)](https://opensource.org/licenses/Apache-2.0)\n\nGrid Layout Provider built on top of [RecyclerListView!](https://github.com/Flipkart/recyclerlistview). Works beautifully on Android, iOS and web. Compatible with recyclerlistview version greater than 1.4.0-beta.6.\n\n**Why use GridLayoutProvider?**\n\nIn 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.\n\n**GIF**\n\n![](https://j.gifs.com/ZV3qNv.gif)\n\n**API**\n\nIt's a pretty simple and intuitive API. Grid Layout Provider needs just 4 things:\n1. Max Span\n2. Layout type for each index (similar to Layout Provider)\n3. Span for each index\n4. Width/Height for each index (width only for vertical scrollable lists and height only for horizontal scrollable lists)\n\n**Sample**\n\n[Snack Sample code](https://snack.expo.io/rybd0OUkE)\n\n**Report Issues**\n\nPlease raise issues [here](https://github.com/muskeinsingh/recyclerlistview-gridlayoutprovider/issues)\n\n**Contributors**\n\n[Muskein Singh](https://twitter.com/muskein) and [Talha Naqvi](https://twitter.com/naqvitalha)\n\n**Contact Us**\n\nEmail us at cross-platform@flipkart.com in case of any queries\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmuskeinsingh%2Frecyclerlistview-gridlayoutprovider","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmuskeinsingh%2Frecyclerlistview-gridlayoutprovider","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmuskeinsingh%2Frecyclerlistview-gridlayoutprovider/lists"}