{"id":15916668,"url":"https://github.com/parveshdhull/android-pin","last_synced_at":"2025-08-15T16:31:04.233Z","repository":{"id":191233425,"uuid":"365224124","full_name":"Parveshdhull/android-pin","owner":"Parveshdhull","description":"A simple JAVA class that can create multiple PIN views in a layout and auto executes code on entering PIN","archived":false,"fork":false,"pushed_at":"2021-05-07T15:27:38.000Z","size":13,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-10-28T22:00:55.161Z","etag":null,"topics":["android","android-application","android-development","android-studio","pin"],"latest_commit_sha":null,"homepage":"","language":"Java","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/Parveshdhull.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null},"funding":{"custom":["https://www.buymeacoffee.com/parveshmonu"]}},"created_at":"2021-05-07T12:19:43.000Z","updated_at":"2023-12-27T17:27:34.000Z","dependencies_parsed_at":"2023-08-28T23:46:36.500Z","dependency_job_id":null,"html_url":"https://github.com/Parveshdhull/android-pin","commit_stats":null,"previous_names":["parveshdhull/android-pin"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Parveshdhull%2Fandroid-pin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Parveshdhull%2Fandroid-pin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Parveshdhull%2Fandroid-pin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Parveshdhull%2Fandroid-pin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Parveshdhull","download_url":"https://codeload.github.com/Parveshdhull/android-pin/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229927123,"owners_count":18145865,"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-application","android-development","android-studio","pin"],"created_at":"2024-10-06T18:03:10.924Z","updated_at":"2024-12-16T08:17:46.263Z","avatar_url":"https://github.com/Parveshdhull.png","language":"Java","funding_links":["https://www.buymeacoffee.com/parveshmonu"],"categories":[],"sub_categories":[],"readme":"# android-pin - Easily create multiple PIN views \n\nA simple JAVA class that can create multiple PIN views in a layout and auto executes code on entering PIN\n\n\u003cp align=\"center\"\u003e\n\u003cimg align=\"center\" src=\"https://user-images.githubusercontent.com/17097240/117448836-daf0d380-af5c-11eb-8c19-4359b48df928.gif\" width=\"200\"/\u003e\n\u003c/p\u003e\n\n## Prerequisite\n1. Copy files from res folder to your specific folders in your project\n2. In your XML file, create a LinearLayout or RelativeLayout where you want to insert PIN view and keep note of the ID\n\n## Usage\n### 1. Creating PIN\n\n```\nPINClass pinClass = new PINClass(this, R.id.linear_layout_insert_id, new Callable() {\n\t@Override\n\tpublic Object call() {\n\t\tsubmitPIN();\n\t\treturn null;\n\t}\n});\n```\n**NOTE:** You can keep the last argument as null, if you don't want any code to be auto executed\n\n### 2. Other Functions\n\n- `pinClass.getText();`\n- `pinClass.clearPin();`\n- `pinClass.getFocus();`\n\n## Credits\nThis project is based on Tonia Tkachuk's [Blog](http://lomza.totem-soft.com/pin-input-view-in-android/)\n\n\n## Websites\nhttps://github.com/Parveshdhull\n\u003cbr /\u003ehttps://twitter.com/ParveshMonu\n\u003cbr /\u003ehttps://youtube.com/right2trick\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparveshdhull%2Fandroid-pin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fparveshdhull%2Fandroid-pin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparveshdhull%2Fandroid-pin/lists"}