在 AdapterView 和 RecyclerView 中通用的 Adapter 和 ViewHolder。
| 简化 GridView/ListView 适配器 | RecyclerView/Header/Footer/拖拽排序 |
|---|---|
![]() |
![]() |
| RecyclerView 多 ItemType | 吸顶分类索引 |
|---|---|
![]() |
![]() |
| 仿美团外卖点餐界面左右联动 |
|---|
![]() |
点击下载 BGABaseAdapterDemo.apk 或扫描下面的二维码安装

maven { url 'https://jitpack.io' } 添加到 root build.gradle 的 repositories 中implementation 'androidx.recyclerview:recyclerview:latestVersion'
implementation 'com.github.bingoogolapple:BGABaseAdapter-Android:latestVersion'
| 个人主页 | 邮箱 | BGA系列开源库QQ群 |
|---|---|---|
| bingoogolapple.cn | bingoogolapple@gmail.com | ![]() |
如果您觉得 BGA 系列开源库帮你节省了大量的开发时间,请扫描下方的二维码随意打赏,要是能打赏个 10.24 :monkey_face:就太:thumbsup:了。您的支持将鼓励我继续创作:octocat:
如果您目前正打算购买通往墙外的梯子,可以使用我的邀请码「YFQ9Q3B」购买 Lantern,双方都赠送三个月的专业版使用时间:beers:

Copyright 2015 bingoogolapple
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
$ claude mcp add BGABaseAdapter-Android \
-- python -m otcore.mcp_server <graph>