Show global loading status view in a low coupling way for Android App(超轻量级,深度解耦Android App中全局加载中、加载失败及空数据视图)
Show global loading status view in a low coupling way for Android App(超轻量级,深度解耦Android App中全局加载中、加载失败及空数据视图)
以低耦合的方式在 Android 应用中显示全局加载状态视图。 JavaDocs | 下载演示 最新版本: 轻量级: aar 文件小于 6KB,仅包含 170 行代码和 104 行注释,全部都放在一个 java 文件中。 采用 Adapter 设计模式,兼容性好:大多数第三方 LoadingView 可在 Adapter 中作为 GLoadingView 使用
包装活动页面
| 加载成功 | 加载失败,点击重试 | 加载成功,但数据为空 | 此加载状态 UI 具有特殊性 |
|---|---|---|---|
| 包装视图 | |||
| 包装单个视图 | 包装视图 | 在 GridView 中包装 | 在 RecyclerView 中包装 下面没有文字 |
| :---: | :---: | :---: | :---: |
3.1 封装某个对象并返回 Gloading.Holder 对象
暂无开放 Issues,或尚未同步最近议题。