{"id":13644398,"url":"https://github.com/klinker41/android-chips","last_synced_at":"2025-04-21T07:31:13.724Z","repository":{"id":57725930,"uuid":"21447141","full_name":"klinker41/android-chips","owner":"klinker41","description":"Chips in your AutoCompleteTextView on Android","archived":false,"fork":false,"pushed_at":"2019-12-19T19:25:12.000Z","size":435,"stargazers_count":629,"open_issues_count":17,"forks_count":134,"subscribers_count":30,"default_branch":"master","last_synced_at":"2024-11-09T16:44:25.104Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/klinker41.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}},"created_at":"2014-07-03T02:22:11.000Z","updated_at":"2024-10-18T14:34:44.000Z","dependencies_parsed_at":"2022-09-02T03:41:35.029Z","dependency_job_id":null,"html_url":"https://github.com/klinker41/android-chips","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klinker41%2Fandroid-chips","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klinker41%2Fandroid-chips/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klinker41%2Fandroid-chips/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klinker41%2Fandroid-chips/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/klinker41","download_url":"https://codeload.github.com/klinker41/android-chips/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250014621,"owners_count":21360983,"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:02:02.887Z","updated_at":"2025-04-21T07:31:08.713Z","avatar_url":"https://github.com/klinker41.png","language":"Java","readme":"# Android Chips Edit Text #\n\n![Screenshot](screenshot.png)\n\nThis is a simple library based on Google's internal chips library and updated to have visuals reflecting the newly released \"Material Design\" standard as seen [here](http://www.google.com/design/spec/components/chips-tokens.html#chips-tokens-contact-chips).\n\nUsage is extremely simple:\n\n```java\n// creates an autocomplete for phone number contacts\nfinal RecipientEditTextView phoneRetv =\n        (RecipientEditTextView) findViewById(R.id.phone_retv);\nphoneRetv.setTokenizer(new MultiAutoCompleteTextView.CommaTokenizer());\nBaseRecipientAdapter baseRecipientAdapter = new BaseRecipientAdapter(BaseRecipientAdapter.QUERY_TYPE_PHONE, this);\n\n// Queries for all phone numbers. Includes phone numbers marked as \"mobile\" and \"others\".\n// If set as true, baseRecipientAdapter will query only for phone numbers marked as \"mobile\".  \nbaseRecipientAdapter.setShowMobileOnly(false);\n\nphoneRetv.setAdapter(baseRecipientAdapter);\n\n\n```\n\nOR\n\n```java\n// creates an autocomplete for email contacts\nfinal RecipientEditTextView emailRetv =\n        (RecipientEditTextView) findViewById(R.id.email_retv);\nemailRetv.setTokenizer(new Rfc822Tokenizer());\nemailRetv.setAdapter(new BaseRecipientAdapter(this));\n```\n\nYou can get all of the current chips by using:\n\n```java\nDrawableRecipientChip[] chips = phoneRetv.getSortedRecipients();\n```\n\n\n## Gradle\n\nTo include in your gradle project:\n\n```groovy\ncompile 'com.klinkerapps:android-chips:1.3.2@aar'\n```\n---\n\n## License\n\n    Copyright (C) 2014 Jacob Klinker\n\n    Licensed under the Apache License, Version 2.0 (the \"License\");\n    you may not use this file except in compliance with the License.\n    You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n    Unless required by applicable law or agreed to in writing, software\n    distributed under the License is distributed on an \"AS IS\" BASIS,\n    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n    See the License for the specific language governing permissions and\n    limitations under the License.\n","funding_links":[],"categories":["TextView"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fklinker41%2Fandroid-chips","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fklinker41%2Fandroid-chips","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fklinker41%2Fandroid-chips/lists"}