{"id":15027443,"url":"https://github.com/bennyhuo/kotlin-tutorials","last_synced_at":"2025-03-16T10:09:06.182Z","repository":{"id":37736216,"uuid":"70414057","full_name":"bennyhuo/Kotlin-Tutorials","owner":"bennyhuo","description":"仓库持续记录以 Kotlin 为基础的视频内容的制作过程","archived":true,"fork":false,"pushed_at":"2023-11-03T08:45:12.000Z","size":10692,"stargazers_count":4111,"open_issues_count":8,"forks_count":566,"subscribers_count":203,"default_branch":"master","last_synced_at":"2025-03-16T10:09:01.118Z","etag":null,"topics":["article","java-kotlin","kapt","kotlin","tutorial","video"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bennyhuo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-10-09T15:59:04.000Z","updated_at":"2025-03-15T12:54:42.000Z","dependencies_parsed_at":"2024-09-20T23:01:59.070Z","dependency_job_id":"c959c0d1-016a-43fe-beff-6da35ebd8d86","html_url":"https://github.com/bennyhuo/Kotlin-Tutorials","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bennyhuo%2FKotlin-Tutorials","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bennyhuo%2FKotlin-Tutorials/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bennyhuo%2FKotlin-Tutorials/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bennyhuo%2FKotlin-Tutorials/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bennyhuo","download_url":"https://codeload.github.com/bennyhuo/Kotlin-Tutorials/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243852484,"owners_count":20358271,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["article","java-kotlin","kapt","kotlin","tutorial","video"],"created_at":"2024-09-24T20:06:26.543Z","updated_at":"2025-03-16T10:09:06.133Z","avatar_url":"https://github.com/bennyhuo.png","language":"Kotlin","readme":"[![GitHub license](https://img.shields.io/badge/license-CC%20BY--NC--ND%204.0-blue.svg)](https://creativecommons.org/licenses/by-nc-nd/4.0/)\n\n# Kotlin-Tutorials\n\n**2021.6 更新**\n\n这个仓库最初（2016年底）是用来分享一些 Kotlin 教程的，感兴趣的话可以查看[这里](legacy/README.md)。后来随着 Google 的大力支持，Kotlin 已经逐步在 Android 开发领域占据了一席之地。我就以个人经历来说说自己的感受吧：\n\n过去几年我所在的[腾讯公司](https://www.tencent.com)当中，Kotlin 的落地项目实际上已经相当可观，例如：\n* 外部开源的 Android 插件化框架 [Shadow](https://github.com/Tencent/Shadow)，核心逻辑基本上使用 Kotlin 编写。\n* [蓝鲸 CI 平台](https://github.com/Tencent/bk-ci)，这是一个后端项目，在腾讯内部已经成为公司主推的 CI 平台，之前我在上面做持续集成时需要做插件开发，惊喜地发现打印出来的调用堆栈居然有 Kotlin 身影。\n* 内部还有团队使用 KMM 做跨平台的 UI 控件渲染，这可以说是非常有挑战的工作了，不仅要在移动端支持 Android、iOS，还要同时支持桌面版。基于这个框架所属产品的体量，我们大概率已经是这套技术方案的用户了。\n\n今年初我因个人原因离开了鹅厂，去了[北京猿力科技有限公司（猿辅导/看云集团）](https://www.kanyun.com/)，不出所料，在这家号称**小而美**且**有技术追求**的公司当中，Kotlin 在项目上的应用已经相当广泛了，新代码很少能见到 Java 的身影（有需要内推的小伙伴可以找我）。\n \n所以，作为“布道者”，过去我们总是想着怎么让更多的开发者知道 Kotlin，现在我们则需要提供更多的 Kotlin 的学习材料，来帮助大家更好的使用 Kotlin。\n\n我目前主要的想法就是做一些视频放到 B 站上（账号：[**bennyhuo 不是算命的**](https://space.bilibili.com/28615855)），当然视频的内容也不限于 Kotlin 本身。\n\n有想法的小伙伴欢迎与我交流，也欢迎加微信群，请先添加微信好友 **bennyhuo007**，暗号“**好家伙**”，我拉你进群\n\n## 内容清单\n\n内容清单已迁移至我的个人主页：[Benny Huo 的专栏](https://www.bennyhuo.com/book/)。\n\n## 联系我\n\n* 邮箱： [bennyhuo@kotliner.cn](mailto:bennyhuo@kotliner.cn) \n* B 站账号：[**bennyhuo 不是算命的**](https://space.bilibili.com/28615855)，我的个人视频会优先在 B 站发布\n* 微信公众号 **bennyhuo**\n---\n\n以下是过去几年我的一些积累和产出，有兴趣可以关注。\n\n## [《深入实践 Kotlin 元编程》](https://www.bennyhuo.com/project/kotlin-metaprogramming.html) 2023.9 出版\n\n这是一本从基础知识、设计思想、技术方案、应用方法、实践技巧5个维度系统讲解Kotlin元编程，并以此大幅提升Kotlin工程师开发水平、研发效率和开发体验的著作。\n\n本书的出版打破了元编程技术资料少、门槛高的行业现状。本书包含大量案例，这些案例大多来自真实的生产实践，相对成熟和完善，可以作为元编程项目的范本。同时，本书提供大量的代码，为了提升阅读体验，在注释、书写和排版等方面对代码做了精心的优化。\n\n## 随书源码\n\n本书**源码地址**：[《深入实践 Kotlin 元编程》源码](https://github.com/bennyhuo/KotlinMetaProgrammingInAction-Sources)\n\n## 购买途径\n\n* 京东自营：[深入实践 Kotlin 元编程](https://item.jd.com/14097194.html)\n* 当当自营：[深入实践 Kotlin 元编程](https://product.dangdang.com/29613442.html)\n\n## [《深入理解 Kotlin 协程》](https://www.bennyhuo.com/project/kotlin-coroutines.html) 2020.6 出版\n\nKotlin 协程可以说是截止目前为止 Kotlin 中最让人困惑的一部分内容了，官方文档也比较简略，对于初学者不够友好。今年我把过去在公众号和博客发布的协程相关的文章进行了整理和扩充，进一步完善了诸多细节编写了本书，有兴趣可以留意一下。\n\n### 随书源码\n\n本书**源码地址**：[《深入理解 Kotlin 协程》源码](https://github.com/bennyhuo/DiveIntoKotlinCoroutines-Sources)\n\n### 购买途径\n\n* 京东自营：[深入理解Kotlin协程](https://item.jd.com/12898592.html)\n* 当当自营：[深入理解Kotlin协程](http://product.dangdang.com/28973005.html)\n\n## [注解处理器开发教程](https://github.com/bennyhuo/Apt-Tutorials)\n\n我在做 [基于 GitHub App 业务深度讲解 Kotlin1.2高级特性与框架设计](https://coding.imooc.com/class/232.html)(目前已经下线) 这门课的时候，顺便做了一个注解处理器的框架，叫 [Tieguanyin(铁观音)](https://github.com/bennyhuo/TieGuanYin)，这个框架主要是用来解决 Activity 跳转时传参的问题，我们知道 Activity 如果需要参数，那么我们只能非常繁琐的使用 `Intent` 来传递，有了这个框架我们就可以省去这个麻烦的步骤。\n\n在这里，框架的内容其实不是重点，重点是，它是一个注解处理器的项目。为了让它的作用尽可能的放大，我对原框架做了简化，做了这套课程。\n\n## [Kotlin 从入门到精通 视频教程](http://coding.imooc.com/class/398.html)\n\nKotlin 1.3 是一个相对成熟和稳定的版本，这次基于  Kotlin 1.3.50 重新制作入门到精通的课程，相比之下新课知识点梳理更详细，内容干货更多，讲法也更成熟，希望能对大家有帮助。\n\n**视频地址：** [http://coding.imooc.com/class/398.html](http://coding.imooc.com/class/398.html)\n\n\n## [破解 Retrofit](https://www.imooc.com/learn/1128?mc_marking=5487b137ad904bd13590a053ede6da2f\u0026mc_channel=syb19) \n\n最近不少朋友反馈希望能看到一些深入分析框架的课程，正好前段时间对 Retrofit 又做了一次深入的分析，整理了一套免费视频分享给大家~ \n\n## [破解Android高级面试](https://s.imooc.com/SBS30PR)\n\n我一直做 Kotlin 的推广和宣传，发现大多数学习 Kotlin 的同学都是被行业“胁迫”不得不学。大家的诉求更多是怎么样找到一份好的工作，考虑到学习 Kotlin 的同学大多都是 Android 开发者，我就花了半年的功夫仔细整理了这一套视频出来，题目看上去不多，但每一个题目背后能引出的知识点可一点儿都不少。不求面面俱到，只求精准打击，面试过程中只要你能给面试官留下深刻的印象，那么这事儿就成了。\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbennyhuo%2Fkotlin-tutorials","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbennyhuo%2Fkotlin-tutorials","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbennyhuo%2Fkotlin-tutorials/lists"}