{"id":18494116,"url":"https://github.com/steelkiwi/incrementproductview","last_synced_at":"2025-05-12T14:30:24.805Z","repository":{"id":72807256,"uuid":"95889078","full_name":"steelkiwi/IncrementProductView","owner":"steelkiwi","description":"Interesting concept of products incrementation","archived":false,"fork":false,"pushed_at":"2017-07-14T11:31:54.000Z","size":256,"stargazers_count":259,"open_issues_count":3,"forks_count":47,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-03-31T23:17:33.902Z","etag":null,"topics":["custom","customizable","increase","java","library","view"],"latest_commit_sha":null,"homepage":"http://steelkiwi.com/","language":"Java","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/steelkiwi.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,"governance":null}},"created_at":"2017-06-30T13:04:48.000Z","updated_at":"2025-01-18T19:19:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"b592042b-43c4-4e40-b971-621ed1d8933a","html_url":"https://github.com/steelkiwi/IncrementProductView","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steelkiwi%2FIncrementProductView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steelkiwi%2FIncrementProductView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steelkiwi%2FIncrementProductView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steelkiwi%2FIncrementProductView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/steelkiwi","download_url":"https://codeload.github.com/steelkiwi/IncrementProductView/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253754956,"owners_count":21958933,"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":["custom","customizable","increase","java","library","view"],"created_at":"2024-11-06T13:18:00.524Z","updated_at":"2025-05-12T14:30:24.750Z","avatar_url":"https://github.com/steelkiwi.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# IncrementProductView\n\n[![Made in SteelKiwi](https://github.com/steelkiwi/IncrementProductView/blob/master/assets/made_in_steelkiwi.png)](http://steelkiwi.com/blog/)\n[ ![Download](https://api.bintray.com/packages/soulyaroslav/maven/increment-product-view/images/download.svg) ](https://bintray.com/soulyaroslav/maven/increment-product-view/_latestVersion)\n# Description\n\nInteresting concept of products incrementation inspired this [Design](https://dribbble.com/shots/1769468-Product-Animation)\n\n# View\n\n![Animation](https://github.com/steelkiwi/IncrementProductView/blob/master/assets/animation.gif)\n\n# Download\n\nFor project API 21+.\nFor arc animation used this library components [ArcAnimator](https://github.com/asyl/ArcAnimator)\n\n## Gradle\n\n```gradle\ncompile 'com.steelkiwi:increment-product-view:1.2.0'\n```\n\n# Usage\n\nAdd IncrementProductView to your xml layout\n\n```xml\n\u003ccom.steelkiwi.library.IncrementProductView\n    android:id=\"@+id/productView\"\n    android:layout_width=\"200dp\"\n    android:layout_height=\"200dp\"\n    android:background=\"@android:color/transparent\"\n    android:layout_centerInParent=\"true\"\n    app:ipv_middle_icon=\"@drawable/box\"\n    app:ipv_highlight_background_color=\"@color/highlight_background_color\"\n    app:ipv_default_background_color=\"@color/default_background_color\"\n    app:ipv_text_color=\"@android:color/white\"\n    app:ipv_text_size=\"@dimen/text_size\"/\u003e\n```\n\nYou can customize view, through this attributes\n\n    * app:ipv_middle_icon - main view icon\n    * app:ipv_highlight_background_color - background color when view is expand\n    * app:ipv_default_background_color - background color when view is idle\n    * app:ipv_text_color - counter text color\n    * app:ipv_text_size - counter text size\n    * app:ipv_add_icon - icon for expand board view state\n    * app:ipv_decrement_icon - icon for decrease view\n    * app:ipv_increment_icon - icon for increase view\n    * app:ipv_confirm_icon - icon for confirmation view state\n    * app:ipv_counter_background_color - background color for board view\n\nInside your client code need to implement listener OnStateListener to handle view state.\nIncrementProductView state:\n\n    * onCountChange(int count) - call after each incrementation\n    * onConfirm(int count) - call after click on confirmation view\n    * onClose() - call after closing board view\n\n\n\n# License\n\n```\nCopyright © 2017 SteelKiwi, http://steelkiwi.com\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\nhttp://www.apache.org/licenses/LICENSE-2.0\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```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsteelkiwi%2Fincrementproductview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsteelkiwi%2Fincrementproductview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsteelkiwi%2Fincrementproductview/lists"}