{"id":13643362,"url":"https://github.com/BorealisAgency/NumberPicker","last_synced_at":"2025-04-21T01:32:23.150Z","repository":{"id":217102462,"uuid":"70526693","full_name":"BorealisAgency/NumberPicker","owner":"BorealisAgency","description":"Android number picker view","archived":false,"fork":false,"pushed_at":"2017-01-27T10:07:25.000Z","size":118,"stargazers_count":55,"open_issues_count":2,"forks_count":13,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-11-09T15:42:30.060Z","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":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BorealisAgency.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-10-10T20:36:50.000Z","updated_at":"2024-04-16T16:39:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"359d4c87-a05d-45cc-8dbc-dac4fe1b6a4e","html_url":"https://github.com/BorealisAgency/NumberPicker","commit_stats":null,"previous_names":["borealisagency/numberpicker"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BorealisAgency%2FNumberPicker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BorealisAgency%2FNumberPicker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BorealisAgency%2FNumberPicker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BorealisAgency%2FNumberPicker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BorealisAgency","download_url":"https://codeload.github.com/BorealisAgency/NumberPicker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249982609,"owners_count":21355732,"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":"2024-08-02T01:01:46.418Z","updated_at":"2025-04-21T01:32:21.757Z","avatar_url":"https://github.com/BorealisAgency.png","language":"Java","funding_links":[],"categories":["选择器(Picker)"],"sub_categories":[],"readme":"# NumberPicker\n![demo](http://i.imgur.com/6uPlzny.gif)\n\n**Installation**\n\nAdd the following dependency to your module's build.gradle:\n\n    compile 'biz.borealis.numberpicker:NumberPicker:1.0.1'\n\n**How to use it**\n\n    \u003cbiz.borealis.numberpicker.NumberPicker\n        android:layout_width=\"wrap_content\"\n        android:layout_height=\"wrap_content\"/\u003e\n        \n**XML Attributes**\n\n    \u003cbiz.borealis.numberpicker.NumberPicker\n        ...\n        xmlns:app=\"http://schemas.android.com/apk/res-auto\"\n        app:np_min_number=\"1\"\n        .../\u003e\n\n| Name   |      Type      |  Default |\n|----------|:-------------:|------:|\n|np_min_number|integer|0|\n|np_max_number|integer|100|\n|np_text_size_selected|dimension|48sp|\n|np_text_size|dimension|36sp|\n|np_text_color_selected|color|#d6000000|\n|np_text_color|color|#8a000000|\n|np_fade_text_color|boolean|true|\n|np_animate_text_size|boolean|true|\n\n**Interface**\n\n        NumberPicker numberPicker = (NumberPicker) findViewById(R.id.np);\n        numberPicker.setOnValueChangeListener(new OnValueChangeListener() {\n            @Override\n            public void onValueChanged(int newValue) {\n            }\n        });\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FBorealisAgency%2FNumberPicker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FBorealisAgency%2FNumberPicker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FBorealisAgency%2FNumberPicker/lists"}