{"id":13606788,"url":"https://github.com/Qusion/android-pin-dot-view","last_synced_at":"2025-04-12T11:30:44.901Z","repository":{"id":55758465,"uuid":"276181168","full_name":"Qusion/android-pin-dot-view","owner":"Qusion","description":"Android library that helps you with pin insertion screens. Fully animated and highly customizable using themes.","archived":false,"fork":false,"pushed_at":"2021-01-22T17:13:12.000Z","size":6374,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-07T12:41:00.146Z","etag":null,"topics":["android","android-library","animated","animations","gradle","jitpack","library","pin","qusion"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","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/Qusion.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"license.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-06-30T18:42:05.000Z","updated_at":"2023-10-02T11:07:32.000Z","dependencies_parsed_at":"2022-08-15T06:50:17.143Z","dependency_job_id":null,"html_url":"https://github.com/Qusion/android-pin-dot-view","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Qusion%2Fandroid-pin-dot-view","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Qusion%2Fandroid-pin-dot-view/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Qusion%2Fandroid-pin-dot-view/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Qusion%2Fandroid-pin-dot-view/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Qusion","download_url":"https://codeload.github.com/Qusion/android-pin-dot-view/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248560028,"owners_count":21124578,"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":["android","android-library","animated","animations","gradle","jitpack","library","pin","qusion"],"created_at":"2024-08-01T19:01:12.414Z","updated_at":"2025-04-12T11:30:44.259Z","avatar_url":"https://github.com/Qusion.png","language":"Kotlin","funding_links":[],"categories":["Kotlin"],"sub_categories":[],"readme":"\u003cp\u003e\n\u003cimg align=\"left\" width=\"400\" height=\"400\" src=\"demo.gif\" alt=\"demo\" /\u003e\n\u003cp\u003e\u003ch1 align=\"left\"\u003eAndroid-PinDotView\u003c/h1\u003e\u003c/p\u003e\n\u003cp\u003eSet of views to speed up creating custom PIN screen in your app \u003c/p\u003e\n\u003c/p\u003e\n\n\u003c/br\u003e\u003c/br\u003e\u003c/br\u003e\u003c/br\u003e\u003c/br\u003e\u003c/br\u003e\u003c/br\u003e\u003c/br\u003e\u003c/br\u003e\u003c/br\u003e\u003c/br\u003e\u003c/br\u003e\n\n## Demo\n\u003ctable cellspacing=\"0\" cellpadding=\"0\" \u003e\n    \u003ctr\u003e\n        \u003cth width=\"700px\" bgcolor=\"transparent\"\u003e\u003ch3\u003e NumberDialView \u0026 PinDotView \u003c/h3\u003e\u003c/th\u003e\n        \u003cth width=\"700px\"\u003e\u003ch3\u003e PinView \u003c/h3\u003e\u003c/th\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003cth width=\"700px\"\u003e\u003cimg src=\"screen-1.png\" alt=\"screen-1\" width=\"350\" height=\"350\" align=\"center\" /\u003e\u003c/th\u003e\n        \u003cth width=\"700px\"\u003e\u003cimg src=\"screen-2.png\" alt=\"screen-2\" width=\"350\" height=\"350\" align=\"center\" /\u003e\u003c/th\u003e\n    \u003c/tr\u003e\n\u003c/table\u003e\n\n\n## Features\n- Easy to implement\n- Exposing only necessary callbacks for ease of use\n- Customizable using themes\n\n## Usage\n### Implementation\nAdd jitpack to project-level build.gradle file\n```\n\tallprojects {\n\t\trepositories {\n\t\t\t...\n\t\t\tmaven { url 'https://jitpack.io' }\n\t\t}\n\t}\n```\nAdd dependency to module-level build.gradle file\n\n```\ndependencies {\n    implementation 'com.github.Qusion:android-pin-dot-view:0.1.0'\n}\n```\n\n\n### Layout\n```\n\u003ccom.qusion.lib_pindotview.PinDotView\n    android:id=\"@+id/pinDotView\"\n    android:layout_width=\"match_parent\"\n    android:layout_height=\"0dp\"\n    app:pin_length=\"4\"\n    android:theme=\"@style/Widget.NumberDialView\"\n    app:layout_constraintTop_toBottomOf=\"@id/center_guideline\"\n    app:layout_constraintBottom_toBottomOf=\"parent\"\n    app:layout_constraintLeft_toLeftOf=\"parent\" /\u003e\n```\nsupports `biometrics_button_src`, `back_button_src`, `forgot_button_text`, `pin_length`, `has_grids`, `has_forget` params\n\n```\n\u003ccom.qusion.lib_pindotview.PinView\n    android:id=\"@+id/pinView\"\n    android:layout_width=\"match_parent\"\n    android:layout_height=\"0dp\"\n    app:pin_length=\"4\"\n    android:theme=\"@style/Widget.NumberDialView\"\n    app:layout_constraintTop_toBottomOf=\"@id/center_guideline\"\n    app:layout_constraintBottom_toBottomOf=\"parent\"\n    app:layout_constraintLeft_toLeftOf=\"parent\" /\u003e\n```\nsupports `biometrics_button_src`, `back_button_src`, `forgot_button_text`, `pin_length`, `has_grids`, `has_forget` params\n\n\n### Activity | Fragment\n```\npinDotView.setOnCompletedListener { pin -\u003e\n    // In case of incorrect pin we can show error animation when using PinDotView\n    // clearPin gives you the option to reset on error\n    // pinDotView.showErrorAnimation(clearPin = true)\n}\n\npinDotView.setOnBiometricsButtonClickedListener {\n    // Biometrics button clicked\n}\n\npinDotView.setOnForgotButtonClickedListener {\n    // Forgot button clicked\n}\n```\n\n\n### Styling\n```\n\u003cstyle name=\"ThemeOverlay.PinDotView\" parent=\"\"\u003e\n    \u003citem name=\"colorPrimary\"\u003e@color/color_aqua\u003c/item\u003e // Tints biometric icon and active elements of pin input\n    \u003citem name=\"colorOnSurface\"\u003e@color/color_white\u003c/item\u003e // Changes color of idle elements of pin input and keyboard delimiters\n    // + regular text styling\n\u003c/style\u003e\n```\n\n## License\n```\nMIT License\nCopyright (c) 2020 QusionDev\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n```\n\n        \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FQusion%2Fandroid-pin-dot-view","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FQusion%2Fandroid-pin-dot-view","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FQusion%2Fandroid-pin-dot-view/lists"}