{"id":29022995,"url":"https://github.com/bamlab/react-native-numberpicker-dialog","last_synced_at":"2025-06-26T03:04:56.034Z","repository":{"id":43533568,"uuid":"67047340","full_name":"bamlab/react-native-numberpicker-dialog","owner":"bamlab","description":"Show a dialog on Android, allowing to choose an option using NumberPicker","archived":false,"fork":false,"pushed_at":"2018-02-09T00:13:19.000Z","size":21,"stargazers_count":26,"open_issues_count":4,"forks_count":11,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-17T23:07:49.337Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bamlab.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":"2016-08-31T14:56:51.000Z","updated_at":"2024-11-02T04:49:29.000Z","dependencies_parsed_at":"2022-09-10T22:02:42.140Z","dependency_job_id":null,"html_url":"https://github.com/bamlab/react-native-numberpicker-dialog","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/bamlab/react-native-numberpicker-dialog","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bamlab%2Freact-native-numberpicker-dialog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bamlab%2Freact-native-numberpicker-dialog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bamlab%2Freact-native-numberpicker-dialog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bamlab%2Freact-native-numberpicker-dialog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bamlab","download_url":"https://codeload.github.com/bamlab/react-native-numberpicker-dialog/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bamlab%2Freact-native-numberpicker-dialog/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261119541,"owners_count":23112206,"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":[],"created_at":"2025-06-26T03:04:53.729Z","updated_at":"2025-06-26T03:04:56.025Z","avatar_url":"https://github.com/bamlab.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-native-numberpicker-dialog\n\nShow an Android modal dialog with a list of choices displayed using a `android.widget.NumberPicker`.\n\n![Android modal dialog with a list of choices displayed using a `android.widget.NumberPicker`](docs/preview.png)\n\nThis is only for Android. There is the built-in [React Native Picker component](https://facebook.github.io/react-native/docs/picker.html) for iOS. It works for Android too, but display a dialog (or dropdown) with a long list of choices that can be confusing.\n\n## Setup\n\nInstall the package with React Native:\n```\nreact-native install react-native-numberpicker-dialog\n```\n\n## Usage example\n\n```javascript\nimport NumberPickerDialog from 'react-native-numberpicker-dialog';\n\nNumberPickerDialog.show({\n  values: ['First item', 'Second item', 'Third item'],\n  positiveButtonLabel: 'Ok',\n  negativeButtonLabel: 'Cancel',\n  message: 'What would you like to have?',\n  title: 'Nice dialog',\n}).then((id) =\u003e {\n  // id is the index of the chosen item, or -1 if the user cancelled.\n});\n```\n\n## Other open-source modules by the folks at [BAM](http://github.com/bamlab)\n\n * [react-native-image-resizer](https://github.com/bamlab/react-native-image-resizer)\n * [rn-camera-roll](https://github.com/bamlab/rn-camera-roll)\n * [react-native-animated-picker](https://github.com/bamlab/react-native-animated-picker)\n * [cordova-plugin-native-routing](https://github.com/bamlab/cordova-plugin-native-routing)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbamlab%2Freact-native-numberpicker-dialog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbamlab%2Freact-native-numberpicker-dialog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbamlab%2Freact-native-numberpicker-dialog/lists"}