{"id":19495440,"url":"https://github.com/guilhe/quantitypickerview","last_synced_at":"2025-07-23T14:36:18.859Z","repository":{"id":119438193,"uuid":"234572206","full_name":"GuilhE/QuantityPickerView","owner":"GuilhE","description":"A View capable of increasing or decreasing a unit value with a toggle animation","archived":false,"fork":false,"pushed_at":"2022-08-29T17:16:31.000Z","size":3980,"stargazers_count":46,"open_issues_count":1,"forks_count":6,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-07-22T21:33:23.782Z","etag":null,"topics":["android","android-pickers","android-pickerview","android-view","androidx"],"latest_commit_sha":null,"homepage":"https://guilhe.github.io/QuantityPickerView","language":"Kotlin","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/GuilhE.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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},"funding":{"custom":"https://www.buymeacoffee.com/GuilhE"}},"created_at":"2020-01-17T15:04:00.000Z","updated_at":"2024-09-29T06:47:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"087d2bef-05aa-430c-895d-e496c8ff8f6c","html_url":"https://github.com/GuilhE/QuantityPickerView","commit_stats":null,"previous_names":["guilhe/android-quantity-picker-view"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/GuilhE/QuantityPickerView","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GuilhE%2FQuantityPickerView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GuilhE%2FQuantityPickerView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GuilhE%2FQuantityPickerView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GuilhE%2FQuantityPickerView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GuilhE","download_url":"https://codeload.github.com/GuilhE/QuantityPickerView/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GuilhE%2FQuantityPickerView/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266694815,"owners_count":23969831,"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","status":"online","status_checked_at":"2025-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"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":["android","android-pickers","android-pickerview","android-view","androidx"],"created_at":"2024-11-10T21:37:48.328Z","updated_at":"2025-07-23T14:36:18.834Z","avatar_url":"https://github.com/GuilhE.png","language":"Kotlin","funding_links":["https://www.buymeacoffee.com/GuilhE"],"categories":[],"sub_categories":[],"readme":"# QuantityPickerView\n[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-QuantityPickerView-brightgreen.svg?style=flat)](https://android-arsenal.com/details/1/8022)  \n\nA View capable of increasing or decreasing a unit value with a toggle animation.  \n\u003cimg src=\"media/s1.gif\" alt=\"Sample\" width=\"27%\"/\u003e \u003cimg src=\"media/s2.gif\" alt=\"Sample\" width=\"27%\"/\u003e\n\n## Installation\n\nQuantityPickerView is distributed through [Maven Central](https://search.maven.org/artifact/com.github.guilhe/quantity-picker-view) and [Jitpack](https://jitpack.io/#GuilhE/QuantityPickerView).\n\n```groovy\nimplementation 'com.github.guilhe:quantity-picker-view:${LATEST_VERSION}'\n```\n [![Maven Central](https://img.shields.io/maven-central/v/com.github.guilhe/quantity-picker-view.svg)](https://search.maven.org/search?q=g:com.github.guilhe%20AND%quantity-picker-view)\n\n## Usage\nCheck out the __sample__ module where you can find a few examples of how to create it by `xml`.\n\nAttributes accepted in xml:\n```xml\n\u003cresources\u003e\n    \u003cattr name=\"min\" format=\"integer\" /\u003e\n    \u003cattr name=\"max\" format=\"integer\" /\u003e\n    \u003cattr name=\"value\" format=\"integer\" /\u003e\n    \u003cattr name=\"textLabelSize\" format=\"dimension\" /\u003e\n    \u003cattr name=\"textLabelFormatter\" format=\"string\" /\u003e\n    \u003cattr name=\"textLabelFont\" format=\"reference\" /\u003e\n    \u003cattr name=\"backgroundColor\" format=\"color\" /\u003e\n    \u003cattr name=\"btnRemove\" format=\"reference\" /\u003e\n    \u003cattr name=\"btnAdd\" format=\"reference\" /\u003e\n    \u003cattr name=\"isOpen\" format=\"boolean\" /\u003e\n    \u003cattr name=\"autoToggle\" format=\"boolean\" /\u003e\n    \u003cattr name=\"rippleEnable\" format=\"boolean\" /\u003e\n    \u003cattr name=\"rippleColor\" format=\"color\" /\u003e\n\u003c/resources\u003e\n```\n\nExample:\n```xml\ncom.github.guilhe.views.QuantityPickerView\n    android:layout_width=\"match_parent\"\n    android:layout_height=\"wrap_content\"\n    app:textLabelFont=\"@font/permanentmarker_regular\"\n    app:textLabelFormatter=\"%s units.\"\n    app:textLabelSize=\"14sp\"/\u003e\n```\n\n\u003cimg src=\"media/s3.gif\" alt=\"Sample\"/\u003e \u003cimg src=\"media/s4.gif\" alt=\"Sample\"/\u003e\n\n\n## Dependencies\n- [com.android.support:support-annotations](https://developer.android.com/topic/libraries/support-library/packages.html#annotations)\n- [androidx.appcompat:appcompat](https://developer.android.com/jetpack/androidx/releases/appcompat) (for ResourcesCompat.getFont())\n\n## Bugs and Feedback\nFor bugs, questions and discussions please use the [Github Issues](https://github.com/GuilhE/QuantityPickerView/issues).\n\n \n## LICENSE\nCopyright (c) 2020-present, GuilhE.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n\u003chttp://www.apache.org/licenses/LICENSE-2.0\u003e\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguilhe%2Fquantitypickerview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fguilhe%2Fquantitypickerview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguilhe%2Fquantitypickerview/lists"}