{"id":20673236,"url":"https://github.com/coder966/android-adapterx","last_synced_at":"2026-04-21T01:32:39.094Z","repository":{"id":188538829,"uuid":"146364196","full_name":"coder966/android-adapterx","owner":"coder966","description":"A RecyclerView adapter that features load more feature.","archived":false,"fork":false,"pushed_at":"2019-05-06T15:13:18.000Z","size":85,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-10T18:09:48.690Z","etag":null,"topics":["adapter","android","recyclerview","recyclerview-adapter"],"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/coder966.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2018-08-27T23:09:36.000Z","updated_at":"2021-07-28T06:56:58.000Z","dependencies_parsed_at":"2023-08-15T20:26:07.025Z","dependency_job_id":null,"html_url":"https://github.com/coder966/android-adapterx","commit_stats":null,"previous_names":["coder966/android-adapterx"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/coder966/android-adapterx","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coder966%2Fandroid-adapterx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coder966%2Fandroid-adapterx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coder966%2Fandroid-adapterx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coder966%2Fandroid-adapterx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coder966","download_url":"https://codeload.github.com/coder966/android-adapterx/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coder966%2Fandroid-adapterx/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32072953,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T21:26:33.338Z","status":"ssl_error","status_checked_at":"2026-04-20T21:26:22.081Z","response_time":94,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","android","recyclerview","recyclerview-adapter"],"created_at":"2024-11-16T20:40:35.536Z","updated_at":"2026-04-21T01:32:39.079Z","avatar_url":"https://github.com/coder966.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AdapterX\n\nAn Android RecyclerView Adapter that adds the feature \"Load More\".\n\nInstallation\n---\nPlease use whatever last version is.\n```gradle\nimplementation 'net.coder966.android:adapterx:0.3.2'\n```\n\nUsage\n---\nFor a full working example, see the demo module.\n\n* Extend `AdapterX\u003cT\u003e`. `T` is the type of individual items in your list.\n* To enable \"Load More\" feature, you must set the `OnLoadMoreListener`.\n\n```java\n// NOTE: this must be done before setting the adapter to the recycler view.\n\n// optional but mandatory if you want to enable \"Load More\" feature.\nadapter.setOnLoadMoreListener((adapterx, lastItem) -\u003e {\n\t/*\n\tPerform DB/API call to get more items.\n\tIF YOU NEED, you can use the provided reference \"lastItem\" to determine which items to load.\n\t*/\n\n\t// when you get your new list of items, call load method\n\tadapterx.load(moreDataList);\n});\n\n// The above segment of code uses Java's Lambda Expressions. If you are not familiar with JDK8 new features, you can always use the old style.\n```\n\nMore optional settings\n---\n* AdapterX can pre-fetch data to improve user experience. The default pre-fetch distance is 5 items.\n\n```java\nadapter.setPrefetchThreshold(10);\n```\n\n* To set a custom loading view\n\n```java\nadapter.setLoadingView(R.layout.loading);\n```\n\nLicense\n---\n```\nCopyright 2018 Khalid H. Alharisi\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\n    http://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%2Fcoder966%2Fandroid-adapterx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoder966%2Fandroid-adapterx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoder966%2Fandroid-adapterx/lists"}