Repository: DylanCaiCoding/LoadingHelper Branch: main Commit: 8acad521b469 Files: 2 Total size: 1.5 KB Directory structure: gitextract_t29h6xbh/ ├── README.md └── README_CN.md ================================================ FILE CONTENTS ================================================ ================================================ FILE: README.md ================================================ # LoadingHelper English | [中文](README_CN.md) >**This library was renamed [LoadingStateView](https://github.com/DylanCaiCoding/LoadingStateView).** It is a highly expandable Android library for showing loading status view on the low-coupling way, the core function is implemented with a Kotlin file of over 200 lines. it not only shows different view like loading, content, error, empty and customized view when loading network data, but also manages title bar. ## Why rename This library contains two functions for displaying loading status view and managing title bar, so it used a neutral name `LoadingHelper`. However, there are the following questions: - The name is not easily associated with the function of displaying loading status view - It is also easy to misunderstand whether it is also possible to manage loading dialog. - While another function to manage the title bar is important, it's actually a secondary function to add decorative views So decided to change the name to improve the readability of the code. ================================================ FILE: README_CN.md ================================================ # LoadingHelper [English](https://github.com/DylanCaiCoding/LoadingHelper) | 中文 >**本库已经改名为 [LoadingStateView](https://github.com/DylanCaiCoding/LoadingStateView)**。 这是一个深度解耦加载界面和标题栏的工具,核心功能只用了一个 Kotlin 文件实现,200 多行代码。不仅能在请求网络数据时**显示加载中、加载成功、加载失败、无数据的视图或自定义视图**,还可以**对标题栏进行管理**。 ## 为什么改名 本库是包含了显示加载状态视图和管理标题栏两个功能,所以之前用了一个中性的名字 `LoadingHelper`。但这就导致有以下问题: - 通过工具类名不容易联想到用于显示加载状态的视图。 - 容易误解是不是也能管理加载弹框。最初是有该功能,但是后来觉得功能太杂就砍了。 - 另一个管理标题栏虽然很重要,但其实算是一个添加装饰视图的辅助功能。 所以决定进行改名,提高代码的阅读性。