学 Kotlin,看这一篇就够了

简介:

为什么学习Kotlin?

  1. 欢呼声热烈 谷歌宣布 Kotlin 成 Android 开发一级语言
  2. Kotlin on Android. Now official
  3. 17 位谷歌 Android 开发专家是如何看待 Kotlin 的?
  4. 为什么你该摒弃 Java ,全面转向 Kotlin 语言?
  5. 为什么说Kotlin值得一试

如何学习Kotlin?

官网以及相关文档

  1. Kotlin 官网
  2. Kotlin 文档
  3. Kotlin 博客
  4. Kotlin 中文文档
  5. Kotlin on GitHub

Kotlin开发实践

  1. Getting started with Android and Kotlin
  2. Kotlin Android Extensions
  3. Android Frameworks Using Annotation Processing
  4. kotlin-examples
  5. Calling Java code from Kotlin
  6. Calling Kotlin from Java
  7. 使用Kotlin开发Android应用
  8. Kotlin入门和使用讲稿(PPT)
  9. Kotlin入门和使用讲稿(文本)
  10. Kotlin从入门到『放弃』系列 视频教程
  11. Kotlin: Java 6 废土中的一线希望
  12. Kotlin 语言高级安卓开发入门
  13. 《Kotlin for android developers》中文版
  14. 深入理解 Kotlin Coroutine(一)
  15. 深入理解 Kotlin Coroutine(二)
  16. Kotlin Script 及其运行机制简析
  17. Kotlin Native 详细体验,你想要的都在这儿

Kotlin相关类库和资源

Libraries

  1. Kotlin/anko - Pleasant Android application development.
  2. JakeWharton/kotterknife - View injection library for Android.
  3. MarcinMoskala/ActivityStarter - Activity starter generator and arguments injection library for Android.
  4. MarcinMoskala/KotlinPreferences - Kotlin Android Library, that makes preference usage in Kotlin simple and fun.
  5. MarcinMoskala/PreferenceHolder - Kotlin Android Library, that makes preference usage in Kotlin simple and fun using object with fields binded to SharedPreferences.
  6. nsk-mironov/kotlin-jetpack - A collection of useful extension methods for Android.
  7. pawegio/KAndroid - Kotlin library for Android providing useful extensions to eliminate boilerplate code.
  8. chibatching/Kotpref - Android SharedPreference delegation for Kotlin.
  9. TouK/bubble - Library for obtaining screen orientation when orientation is blocked in AndroidManifest.
  10. ragunathjawahar/kaffeine - Kaffeine is a Kotlin-flavored Android library for accelerating development.
  11. mcxiaoke/kotlin-koi - Koi, a lightweight kotlin library for Android Development.
  12. BennyWang/KBinding - Android View Model binding framework write in kotlin, base on anko, simple but powerful.
  13. inaka/KillerTask - Android AsyncTask wrapper library, written in Kotlin.
  14. grandstaish/paperparcel - Boilerplate reduction library written specifically for working with Kotlin data classes on Android.
  15. andre-artus/AnvilKotlin - Minimal UI library for Android inspired by React.
  16. mathcamp/fiberglass - Easy lightweight SharedPreferences library for Android in Kotlin using delegated properties.
  17. nitrico/LastAdapter - Don't write a RecyclerView adapter again. Not even a ViewHolder!.
  18. denisidoro/krouter - A lightweight Android activity router.
  19. metalabdesign/AsyncAwait - async/await for Android built upon coroutines introduced in Kotlin 1.1.
  20. jupf/staticlog - StaticLog - super lightweight static logging for Kotlin, Java and Android.
  21. zserge/anvil - Minimal UI library for Android inspired by React.
  22. DanielMartinus/Stepper-Touch - Fun playful Android stepper widget for counting, written in Kotlin.
  23. GlimpseFramework/glimpse-framework-android - OpenGL made simple.
  24. infotech-group/android-drawable-dsl - DSL for constructing the drawables in Kotlin instead of in XML.
  25. zsmb13/MaterialDrawerKt - A DSL for creating Material Design navigation drawers without any XML.
  26. SnowdreamFramework/ToyBricks - Android Library that provide simpler way to achieve modularity.

Frameworks

  1. nekocode/kotgo - An android development framwork on kotlin using MVP architecture.
  2. lightningkite/kotlin-core - A full framework for making Android apps. Based on Anko and Kotson.

Projects

  1. antoniolg/Bandhook-Kotlin - A showcase music app for Android entirely written using Kotlin language.
  2. antoniolg/Kotlin-for-Android-Developers - Companion App for the book "Kotlin Android Developers".
  3. damianpetla/kotlin-dagger-example - Example of Android project showing integration with Kotlin and Dagger 2.
  4. dodyg/AndroidRivers - RSS Readers for Android.
  5. MakinGiants/banjen-android-banjo-tuner - App that plays sounds helping to tune a brazilian banjo.
  6. inaka/kotlillon - Android Kotlin Examples.
  7. MakinGiants/todayhistory - App that shows what happened today in history.
  8. RxKotlin/Pocket - This app help user to save links easily, and can export to Evernote as weekly.
  9. SidneyXu/AndroidDemoIn4Languages - Comparison between Java, Groovy, Scala, Kotlin in Android Development.
  10. inorichi/tachiyomi - Free and open source manga reader for Android.
  11. ziggy42/Blum-kotlin - A simple android Twitter client written in Kotlin
  12. TwidereProject/Twidere-Android - Material Design ready and feature rich Twitter app for Android 4.0+
  13. SimpleMobileTools/Simple-Calendar - A simple calendar with events, customizable widget and no ads.
  14. SimpleMobileTools/Simple-Camera - A camera with flash, zoom and no ads.
  15. SimpleMobileTools/Simple-Draw - A canvas you can draw on with different colors.
  16. SimpleMobileTools/Simple-File-Manager - A simple file manager for browsing and editing files and directories.
  17. SimpleMobileTools/Simple-Gallery - A gallery for viewing photos and videos without ads.
  18. SimpleMobileTools/Simple-Notes - A simple textfield for adding quick notes without ads.

Extensions

  1. ajalt/timberkt - Easy Android logging with Kotlin and Timber.

Tools

  1. kiruto/debug-bottle - Debug Bottle is an Android runtime debug / develop tools written using kotlin language.

Websites

  1. awesome-kotlin
  2. kotlin.link

联系方式

sn0wdr1am

相关文章
|
编解码
一文详解 URLEncode
使用浏览器进行Http网络请求时,若请求query中包含中文,中文会被编码为 `%+16进制+16进制`形式,但你真的深入了解过,为什么要进行这种转义编码吗?编码的原理又是什么?
1188 0
一文详解 URLEncode
|
JavaScript
HTTP/2 协议-服务端主动推送消息
HTTP/2 协议-服务端主动推送消息
724 0
|
存储 负载均衡 关系型数据库
一文读懂MySQL高性能优化方案全家桶
一文读懂MySQL高性能优化方案全家桶
982 0
|
10月前
|
存储 监控 安全
网络安全视角:从地域到账号的阿里云日志审计实践
日志审计的必要性在于其能够帮助企业和组织落实法律要求,打破信息孤岛和应对安全威胁。选择 SLS 下日志审计应用,一方面是选择国家网络安全专用认证的日志分析产品,另一方面可以快速帮助大型公司统一管理多组地域、多个账号的日志数据。除了在日志服务中存储、查看和分析日志外,还可通过报表分析和告警配置,主动发现潜在的安全威胁,增强云上资产安全。
854 92
|
9月前
|
数据库
【YashanDB 知识库】数据库一主一备部署及一主两备部署时,主备手动切换方法及自动切换配置
**数据库主备切换简介** 在数据库正常或异常情况下,实现主备切换至关重要。若配置不当,主节点故障将影响业务使用,尤其在23.2版本中。原因包括资源紧张或主节点异常。解决方法涵盖手动和自动切换: 1. **一主一备部署**: - **手动切换**:支持Switchover(同步正常时)和Failover(主库损坏时)。 - **自动切换**:启用yasom仲裁选主开关。 2. **一主两备部署**: - 默认最大保护模式,自动切换开启。 需检查并配置自动切换以确保高可用性。经验总结:一主一备默认关闭自动切换,需手动开启;一主两备默认开启。
|
11月前
|
人工智能 运维 自然语言处理
AI for Network Ops
网络运维工作涵盖从规划设计到日常维护的多个方面,随着网络规模扩大,人工运维难以应对。自动化运维系统应运而生,通过批量配置变更和监控工具提升效率。大模型(LLM)具备推理、学习和泛化能力,可作为网工的智能助手,优化故障定位等任务。团队通过多轮信息摘要和微调模型,实现了高效准确的故障定位,单个故障定位耗时小于1.5分钟,准确率超过80%。未来,大模型还将应用于智能答疑机器人和意图驱动网络等领域,全面提升网络运维效率。
Next.js 实战 (三):优雅的实现暗黑主题模式
这篇文章介绍了在Next.js中实现暗黑模式的具体步骤。首先,需要安装next-themes库。然后,在/components/ThemeProvider/index.tsx文件中新增ThemeProvider组件,并在/app/layout.tsx文件中注入该组件。如果想要加入过渡动画,可以修改代码实现主题切换时的动画效果。最后,需要在需要的位置引入ThemeModeButton组件,实现暗黑模式的切换。
398 0
Next.js 实战 (三):优雅的实现暗黑主题模式
|
11月前
|
Java 数据库连接 数据库
从入门到精通---深入剖析Spring DAO
在Java企业级开发中,Spring框架以其强大的功能和灵活性,成为众多开发者的首选。Spring DAO(Data Access Object)作为Spring框架中处理数据访问的重要模块,对JDBC进行了抽象封装,极大地简化了数据访问异常的处理,并能统一管理JDBC事务。本文将从概述、功能点、背景、业务点、底层原理等多个方面深入剖析Spring DAO,并通过多个Java示例展示其应用实践,同时指出对应实践的优缺点。
199 1
|
Linux 应用服务中间件 nginx
Linux 快速搭建 Overleaf 5.0 附中文字体及完整 TexLive 安装教程(2024最新版)
2024最新版 Linux 极速安装 Overleaf 5.0 手把手教学!附 XeLatex 修复,新增中文字体以及安装完整版 TexLive 教程!
|
缓存 网络协议 算法
【Linux系统编程】深入剖析:四大IO模型机制与应用(阻塞、非阻塞、多路复用、信号驱动IO 全解读)
在Linux环境下,主要存在四种IO模型,它们分别是阻塞IO(Blocking IO)、非阻塞IO(Non-blocking IO)、IO多路复用(I/O Multiplexing)和异步IO(Asynchronous IO)。下面我将逐一介绍这些模型的定义:
663 2