{"id":43452807,"url":"https://github.com/ashrithks/react-native-selectable-flatlist","last_synced_at":"2026-02-03T02:31:20.012Z","repository":{"id":57339888,"uuid":"188372617","full_name":"ashrithks/react-native-selectable-flatlist","owner":"ashrithks","description":"Single/Multi Select Flatlist","archived":false,"fork":false,"pushed_at":"2019-05-24T09:49:30.000Z","size":10,"stargazers_count":8,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-01T15:43:26.191Z","etag":null,"topics":["flatlist","multi-selection","multiselect","react-native","selectable","single-select","single-selection"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ashrithks.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-05-24T07:17:48.000Z","updated_at":"2022-09-23T05:53:49.000Z","dependencies_parsed_at":"2022-09-16T13:21:15.691Z","dependency_job_id":null,"html_url":"https://github.com/ashrithks/react-native-selectable-flatlist","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ashrithks/react-native-selectable-flatlist","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashrithks%2Freact-native-selectable-flatlist","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashrithks%2Freact-native-selectable-flatlist/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashrithks%2Freact-native-selectable-flatlist/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashrithks%2Freact-native-selectable-flatlist/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ashrithks","download_url":"https://codeload.github.com/ashrithks/react-native-selectable-flatlist/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashrithks%2Freact-native-selectable-flatlist/sbom","scorecard":{"id":211891,"data":{"date":"2025-08-11","repo":{"name":"github.com/ashrithks/react-native-selectable-flatlist","commit":"35e1ca8299252c0cf62f1231aff245213135b9d7"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.6,"checks":[{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":0,"reason":"Found 0/5 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-17T00:54:14.312Z","repository_id":57339888,"created_at":"2025-08-17T00:54:14.313Z","updated_at":"2025-08-17T00:54:14.313Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29028608,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-03T02:28:16.591Z","status":"ssl_error","status_checked_at":"2026-02-03T02:27:48.904Z","response_time":96,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["flatlist","multi-selection","multiselect","react-native","selectable","single-select","single-selection"],"created_at":"2026-02-03T02:31:16.144Z","updated_at":"2026-02-03T02:31:20.003Z","avatar_url":"https://github.com/ashrithks.png","language":"JavaScript","readme":"\n# react-native-selectable-flatlist\n Single/Multi Select Flatlist\n\n## Getting started\n\n`$ npm install react-native-selectable-flatlist --save`\n\n## DEMO\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://user-images.githubusercontent.com/19853363/58318866-460b7300-7e36-11e9-852a-1ae3400a637a.gif\" height=\"600\" title=\"demo\"\u003e\n\u003c/p\u003e\n\n## Usage\n```javascript\nimport React, { Component } from 'react';\nimport { View, Text,StyleSheet } from 'react-native';\nimport SelectableFlatlist, { STATE } from 'react-native-selectable-flatlist';\n\nclass Example extends Component {\n\n  itemsSelected = (selectedItem) =\u003e {\n    console.log(selectedItem);\n  }\n\n  rowItem = (item) =\u003e (\n    \u003cView\n      style={{\n        flex: 1,\n        borderBottomWidth: 0.5,\n        alignItems: 'flex-start',\n        justifyContent: 'center',\n        paddingVertical: 20,\n        borderBottomColor: '##dfdfdf'\n      }}\n    \u003e\n      \u003cText\u003e{item.test}\u003c/Text\u003e\n    \u003c/View\u003e\n  )\n\nrender(){\n  return(\n    \u003cView style={styles.container}\u003e\n        \u003cSelectableFlatlist\n          data={[{ test: 'test1' }, { test: 'test2' }, { test: 'test3' }]}\n          state={STATE.EDIT}\n          multiSelect={false}\n          itemsSelected={(selectedItem) =\u003e { this.itemsSelected(selectedItem); }}\n          initialSelectedIndex={[0]}\n          cellItemComponent={(item, otherProps) =\u003e this.rowItem(item)}\n        /\u003e\n    \u003c/View\u003e\n  )\n}\n}\n\nconst styles = StyleSheet.create({\n  container: {\n    flex: 1,\n    paddingTop: 40\n  }\n});\n\nexport default Example;\n```\n\n## Props\n\n| name                      | required |    default     | description |\n| ------------------------- | -------- | -------------- | ------------|\n| data                      |   yes    |       []       | data is just a plain array. |\n| state                     |   yes    |   STATE.EDIT   | STATE.DEFAULT, without selection. STATE.EDIT with selection. |\n| cellItemComponent         |   yes    |                | Child row component to render next check/uncheck componenet. |\n| touchStyles               |   no     |                | Styles for touch wrapper. |\n| renderCheck               |   no     |                | Custom Component to render when a row is checked. |\n| checkUncheckContainerStyle|   no     |                | Container style of check/uncheck default component. |\n| checkColor                |   no     |     #00FF00    | Default Color of check icon. |\n| checkUncheckSize          |   no     |       30       | Size(Number) of check/uncheck icon. |\n| checkIcon                 |   no     |                | Custom check icon. |\n| renderUncheck             |   no     |                | Custom Component to render when a row is unchecked. |\n| uncheckColor              |   no     |     #dfdfdf    | Default Color of uncheck icon. |\n| uncheckIcon               |   no     |                | Custom uncheck icon. |\n| initialSelectedIndex      |   yes    |                | Array of initially selected item index(Eg:- [0] or [] or [0,1,6]). |\n| itemsSelected             |   yes    |                | Callback function when an item checked/unchecked which returns selected items array. |\n| multiSelect               |   yes    |      false     | Boolean, single/multi select, true refers to multiselect. |\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashrithks%2Freact-native-selectable-flatlist","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fashrithks%2Freact-native-selectable-flatlist","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashrithks%2Freact-native-selectable-flatlist/lists"}