Skip to content
View DylanCaiCoding's full-sized avatar
Block or Report

Block or report DylanCaiCoding

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
DylanCaiCoding/README.md

License License

Anurag's github stats

一个兴趣使然的程序“工匠”。有代码洁癖,喜欢封装,对封装有一定的个人见解,有不少个人原创的封装思路。以下是个人封装的开源库,用于搭建开发框架。

UI 相关:

  • ViewBindingKTX,最全面的 ViewBinding 工具,支持各种姿势使用 ViewBinding,替代 ButterKnife 或 KAE,可适配 BRVAH。
  • LoadingStateView,深度解耦标题栏,解耦加载中、加载失败、空布局等缺省页,支持两行代码集成到基类。

工具类相关:

  • Longan,可能是最好用的 Kotlin 工具库,目前有超过 500 个好用的方法和属性。

KV 存储相关:

  • MMKV-KTX,最好用的 MMKV 工具,可以确保类型安全,无需声明 key 常量。
  • DataStoreKTX,最好用的 DataStore 工具,可以确保类型安全,无需声明 key 常量。

埋点相关:

  • Tracker,基于西瓜视频的责任链埋点思路实现的轻量级埋点框架。

掘金有对应讲解封装思路的文章:

Pinned

  1. ViewBindingKTX ViewBindingKTX Public

    The most comprehensive utils of ViewBinding. (最全面的 ViewBinding 工具,支持 Kotlin 和 Java 用法,支持 BRVAH,支持封装到基类,支持 DataBinding,支持选择是否使用反射)

    Kotlin 793 90

  2. LoadingStateView LoadingStateView Public

    Decoupling the code of toolbar or loading status view. (深度解耦标题栏,解耦加载中、加载失败、无数据等缺省页,支持两行代码集成到基类)

    Java 673 53

  3. Longan Longan Public

    Probably the best Kotlin utils library for Android. (可能是最好用的 Kotlin 工具库)

    Kotlin 555 67

  4. MMKV-KTX MMKV-KTX Public

    The best MMKV utils to ensure type safety. (最好用的 MMKV 工具,可以确保类型安全)

    Kotlin 156 18

  5. Tracker Tracker Public

    A lightweight tracking framework based on the tracking idea of Buzzvideo.(基于西瓜视频的责任链埋点思路实现的轻量级埋点框架)

    Kotlin 98 13

  6. DataStoreKTX DataStoreKTX Public

    The best DataStore utils to ensure type safety. (最好用的 DataStore 工具,可以确保类型安全)

    Kotlin 41 6