An open API service indexing awesome lists of open source software.

https://github.com/xiaomingx/awesome-kotlin

A curated list of awesome Kotlin frameworks, libraries, documents and other resources
https://github.com/xiaomingx/awesome-kotlin

List: awesome-kotlin

Last synced: 4 months ago
JSON representation

A curated list of awesome Kotlin frameworks, libraries, documents and other resources

Awesome Lists containing this project

README

        

# awesome-kotlin ( 精选 Kotlin 和 Android 开发常用库与资源 )

以下是经过筛选的 Kotlin 和 Android 开发资源,旨在帮助开发者快速找到实用工具,提高效率。

## 必备开发库

### Kotlin 基础
- [kotlinx.coroutines](https://github.com/Kotlin/kotlinx.coroutines) - Kotlin 协程支持,简化异步代码。
- [kotlinx.serialization](https://github.com/Kotlin/kotlinx.serialization) - Kotlin 多平台序列化框架。
- [koin](https://github.com/InsertKoinIO/koin) - 轻量级依赖注入框架,专为 Kotlin 设计。
- [ktlint](https://github.com/pinterest/ktlint) - Kotlin 代码风格检查工具,内置格式化功能。
- [detekt](https://github.com/detekt/detekt) - Kotlin 静态代码分析工具。
- [kotlin-logging](https://github.com/MicroUtils/kotlin-logging) - 基于 slf4j 的 Kotlin 日志库。

### Android 常用库
- [coil](https://github.com/coil-kt/coil) - 基于 Kotlin 协程的 Android 图片加载库。
- [leakcanary](https://github.com/square/leakcanary) - 内存泄漏检测工具。
- [timber](https://github.com/JakeWharton/timber) - 扩展性的日志工具。
- [MaterialDialogs](https://github.com/afollestad/material-dialogs) - 美观且易扩展的对话框库。
- [AppIntro](https://github.com/AppIntro/AppIntro) - 制作 App 引导页的工具。
- [RecyclerView Animators](https://github.com/wasabeef/recyclerview-animators) - RecyclerView 动画工具。
- [SQLDelight](https://github.com/cashapp/sqldelight) - 基于 SQL 的类型安全数据库访问工具。

### UI 开发
- [Jetpack Compose Samples](https://github.com/android/compose-samples) - 官方 Jetpack Compose 示例代码。
- [Material Components](https://github.com/material-components/material-components-android) - Material Design 组件。
- [CalendarView](https://github.com/kizitonwose/CalendarView) - 高度可自定义的 Android 日历库。
- [ShimmerRecyclerView](https://github.com/sharish/ShimmerRecyclerView) - 支持闪烁加载效果的 RecyclerView。

### 网络和数据
- [Retrofit](https://square.github.io/retrofit/) - 高效的网络请求工具,支持 Kotlin 协程。
- [okhttp](https://square.github.io/okhttp/) - 强大的网络请求库。
- [FlowBinding](https://github.com/ReactiveCircus/FlowBinding) - 用于 Android UI 控件的 Kotlin Flow 绑定。
- [Exposed](https://github.com/JetBrains/Exposed) - Kotlin SQL 框架,简化数据库操作。

---

## 开发工具

- [IntelliJ IDEA](https://www.jetbrains.com/idea/download/) - 功能强大的 Kotlin IDE。
- [kscript](https://github.com/holgerbrandl/kscript) - 增强的 Kotlin 脚本支持。
- [dokka](https://github.com/Kotlin/dokka) - Kotlin 文档生成工具。
- [sonarlint](https://github.com/SonarSource/sonarlint-intellij) - 实时代码质量检测插件。

---

## 教程与学习资源

### 官方与社区教程
- [Learn Kotlin by Examples](https://play.kotlinlang.org/byExample) - 官方 Kotlin 示例教程。
- [Kotlin 官方博客](https://blog.jetbrains.com/kotlin/) - Kotlin 开发更新与案例分享。

### 推荐书籍
- [Kotlin in Action](https://www.manning.com/books/kotlin-in-action) - Kotlin 权威指南。
- [Effective Kotlin](https://leanpub.com/effectivekotlin/) - Kotlin 开发最佳实践总结。
- [Programming Kotlin](https://www.packtpub.com/application-development/programming-kotlin) - 从基础到进阶的 Kotlin 开发指南。

---

## 样例项目

- [Sunflower](https://github.com/android/sunflower) - 展示 Android Jetpack 开发最佳实践的园艺应用。
- [Tivi](https://github.com/chrisbanes/tivi) - 连接 Trakt.tv 的电视剧跟踪应用。
- [DisneyMotions](https://github.com/skydoves/DisneyMotions) - 基于 MVVM 架构的迪士尼角色展示应用。