{"id":16986927,"url":"https://github.com/amrdeveloper/easyadapter","last_synced_at":"2025-06-13T19:04:47.715Z","repository":{"id":57732372,"uuid":"436362549","full_name":"AmrDeveloper/EasyAdapter","owner":"AmrDeveloper","description":"Android Annotation Processing Library to generate your adapters only with Annotations on your model, support working with Kapt and KSP Processors","archived":false,"fork":false,"pushed_at":"2022-06-26T20:12:56.000Z","size":833,"stargazers_count":83,"open_issues_count":1,"forks_count":7,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-06-13T19:02:57.274Z","etag":null,"topics":["adapter","adapter-design-pattern","android","android-library","annotation-processor","kapt","kotlin","kotlinpoet","ksp","lint","linter-plugin"],"latest_commit_sha":null,"homepage":"https://amrdeveloper.github.io/EasyAdapter/","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/AmrDeveloper.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-12-08T19:07:56.000Z","updated_at":"2025-01-28T21:00:17.000Z","dependencies_parsed_at":"2022-09-10T20:31:11.672Z","dependency_job_id":null,"html_url":"https://github.com/AmrDeveloper/EasyAdapter","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/AmrDeveloper/EasyAdapter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmrDeveloper%2FEasyAdapter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmrDeveloper%2FEasyAdapter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmrDeveloper%2FEasyAdapter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmrDeveloper%2FEasyAdapter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AmrDeveloper","download_url":"https://codeload.github.com/AmrDeveloper/EasyAdapter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmrDeveloper%2FEasyAdapter/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259704414,"owners_count":22898858,"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":["adapter","adapter-design-pattern","android","android-library","annotation-processor","kapt","kotlin","kotlinpoet","ksp","lint","linter-plugin"],"created_at":"2024-10-14T02:47:23.345Z","updated_at":"2025-06-13T19:04:47.688Z","avatar_url":"https://github.com/AmrDeveloper.png","language":"Kotlin","readme":"# EasyAdapter\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"media/ea-logo.png\" width=\"128px\" height=\"128px\"/\u003e\n\u003c/p\u003e\n\n![Maven Central](https://img.shields.io/maven-central/v/io.github.amrdeveloper/easyadapter?color=green)\n[![Codacy Badge](https://app.codacy.com/project/badge/Grade/2b074c0ffc1e4ac3b0ddf085e09e940c)](https://www.codacy.com/gh/AmrDeveloper/EasyAdapter/dashboard?utm_source=github.com\u0026amp;utm_medium=referral\u0026amp;utm_content=AmrDeveloper/EasyAdapter\u0026amp;utm_campaign=Badge_Grade)\n[![CodeFactor](https://www.codefactor.io/repository/github/amrdeveloper/easyadapter/badge)](https://www.codefactor.io/repository/github/amrdeveloper/easyadapter)\n\nAndroid Annotation Processor library to generate adapter class easily from your model with a lot of customization\n\n```Kotlin\nconst val APP_ID = \"com.amrdeveloper.app\"\nconst val MODEL_LIST_ITEM = \"list_item_model\"\n\n@BindListener(ListenerType.OnClick)\n@BindListener(ListenerType.OnLongClick)\n@BindListener(ListenerType.OnClick, \"model_name\")\n@ListAdapter(APP_ID, MODEL_LIST_ITEM)\ndata class Model (\n\n    @BindText(\"model_name\")\n    val name : String,\n\n    @BindImage(ImageLoader.COIL, \"model_avatar\")\n    val avatarUrl : String,\n\n    @BindAlpha(\"model_avatar\")\n    val avatarAlpha : Float,\n)\n```\n\n- Main Features\n  - Everything done in Compile time.\n  - Supports Kapt and KSP processors.\n  - Supports List, Recycler and Array Adapters.\n  - Supports Paging2 and Paging3 Adapters.\n  - Supports Expandable List Adapter.\n  - Supports image loading with Picasso, Glide and Coil.\n  - Supports generating DiffUtil ItemCallback.\n  - Supports generating refresh data method for RecyclerAdapter.\n  - Supports generating listeners.\n  - Supports type checking when using annotation with invalid data type.\n  - Supports default and custom name for the generated Adapter class.\n  - Show clear warns and errors.\n\n- Documentations:\n  - [Full Documentation](https://amrdeveloper.github.io/EasyAdapter/)\n  - [Install](docs/install.md)  \n  - [How to use](docs/how_to_use.md) \n  - [Adapters Annotations](docs/annotations/adapters.md)\n  - [Binds Annotations](docs/annotations/binds.md)\n  - [Listeners Annotation](docs/annotations/listeners.md)  \n\n- Documentations for Contributors:\n  - [Support New Adapter](docs/contribution/support_new_adapter.md)\n  - [Support New Binds](docs/contribution/support_new_bind.md)  \n  - [Support New Listener](docs/contribution/support_new_listener.md)\n  - [Contribute in Docs](docs/contribution/documentation.md)\n\n### License\n```\nMIT License\n\nCopyright (c) 2021 Amr Hesham\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","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famrdeveloper%2Feasyadapter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famrdeveloper%2Feasyadapter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famrdeveloper%2Feasyadapter/lists"}