Kotlin Weekly 中文周報
Drive Android API Integration – Part 1 (androidahead.com)
驅(qū)動 Android API 集成——第 1 部分
First article in the series integrating the Drive Android API using Kotlin.
在集成驅(qū)動 Android API 使用 Kotlin 系列文章中的第一篇顶籽。Dependency Injection in a Kotlin world (fragmentedpodcast.com)
Kotlin 世界中的依賴注入
A hotly debated topic at the moment is the use of a library like Dagger for dependency injection in the world of Kotlin. Danny Preussler dives into how some of these use a Service Loader/Locator pattern and the subtle differences with dependency injection.
目前憔儿,一個備受爭議的話題是使用一種類似 Dagger 這個的 Library栅组,在 Kotlin 的世界里進行依賴性注射违寞。Danny Preussler 深入探討了其中一些如何使用服務(wù)加載器 / 定位器模式和依賴注入的細(xì)微差別辱士。Spring Boot, migrating to functional (frankel.ch)
Spring 引導(dǎo),遷移到功能
There is a trend against frameworks and annotations recently. This affects of course frameworks like Spring. In this article, Nicolas Frankel explains how to migrate Spring Boot to functional.
最近有一種針對框架和注釋的趨勢徐鹤。這會影響到像 Spring 這樣的課程框架垃环。在本文中,Nicolas Frankel 解釋了如何將 Spring 引導(dǎo)遷移到功能返敬。See what’s coming in Kotlin 1.3-M1 (jetbrains.com)
看看 Kotlin 1.3-M1 的情況
Kotlin 1.3 brings many advancements including graduation of coroutines, new experimental unsigned arithmetic, and much more. Check the details in this blog post.
Kotlin 1.3 帶來了許多進步遂庄,包括 coroutines 的穩(wěn)定版,新的實驗無符號算術(shù)劲赠,以及更多涧团。查看此博客文章的詳細(xì)信息。Effective Java in Kotlin, obsolete items thanks to Kotlin (kotlin-academy.com)
有效的 Java 在 Kotlin经磅,過時的項目感謝 Kotlin
Kotlin has deprecated some of the items from the legendary book "Effective Java". Check some of those items in this article at the Kotlin Academy.
Kotlin 已經(jīng)否決了傳奇書『Effective Java 』中的一些項目。在 kotlin-academy 中的這篇文章中钮追,檢查一些這些項目预厌。Execute Kotlin Scripts with Gradle (kotlinexpertise.com)
用 Gradle 執(zhí)行 Kotlin 腳本
In this article, you will learn how you can organize multiple Kotlin scripts as Gradle tasks and make them easily executable this way.
在本文中,您將了解如何將多個 Kotlin 腳本組織為 Gradle 任務(wù)元媚,并使它們易于以這種方式執(zhí)行轧叽。
Writing your first Detekt rule (medium.com)
寫你的第一個 detekt 規(guī)則
Detekt is a static analysis tool for the Kotlin language. It’s open source, in active development and friendly to first-time contributors. Learn how to write your first Detekt rule in this article.
Detekt 是 Kotlin 語言的靜態(tài)分析工具。它的開放源碼刊棕,在積極發(fā)展和友好的第一次貢獻者炭晒。學(xué)習(xí)如何在本文中編寫您的第一個 detekt 規(guī)則。When lambdas and strong typing collide (medium.com)
當(dāng) lambdas 和強類型碰撞
Strong typing can be very helpful in keeping our code safer. Victoria Gonda tells us about an interesting experience she had when lambdas and strong typing collided.
強類型可以很有助于使我們的代碼更安全甥角。Victoria Gonda 告訴我們她有一個有趣的經(jīng)歷网严,當(dāng) Lambdas 和強類型結(jié)合時。Opening the Koin 1.0.0?—?Beta version (medium.com)
打開 Koin 1.0.0 版 -Beta 版
Hi Koin users! This is it … we are releasing the first public beta version of Koin 1.0.0. Lots of work have been done…
你好嗤无,Koin 用戶震束!這就是……我們發(fā)布了第一個公測版本的 Koin 1.0.0。許多工作已經(jīng)完成…Headers, Interceptors and Authenticators with Retrofit (medium.com)
帶改進的頭当犯、攔截器和驗證器
In Android sometimes you need to add a couple of parameters, like headers, to make a successful request, this is a normal behavior from all the Android Apps, when you are using Retrofit, you can do it in multiple ways
在 Android 中垢村,有時你需要添加一些參數(shù),比如標(biāo)題嚎卫,才能成功發(fā)出請求嘉栓,這是所有 Android 應(yīng)用程序的正常行為,當(dāng)你使用 Retrofit 時,你可以通過多種方式實現(xiàn).....Simple network calls using Retrofit, LiveData, Kotlin Coroutines and DSL (proandroiddev.com)
簡單的網(wǎng)絡(luò)調(diào)用使用翻新侵佃,livedata麻昼,kotlin coroutines 和 dsl
When you build an app that has to deal with network calls, you almost end up writing the same boilerplate code. Rygel Louv shows how in a Kotlin world this can be done in a clean and elegant way.
當(dāng)你構(gòu)建一個應(yīng)用程序來處理網(wǎng)絡(luò)調(diào)用時,你幾乎會寫下同樣的樣板代碼趣钱。Rygel Louv 展示了如何在一個 Kotlin 世界涌献,這可以做一個干凈和優(yōu)雅的方式。Model-View-Intent & Data Binding (proandroiddev.com)
模型視圖意圖和數(shù)據(jù)綁定
I always try to simplify development process and reduce boilerplate code, therefore I decided to dive deeper into MVI.
我總是盡量簡化開發(fā)過程首有,減少樣板代碼燕垃,因此我決定深入到 MVI。Conference for Kotliners 2018 recap (www.kotlindevelopment.com)
KotClint2018 會議
After years of running the Kotlin Budapest user group, lots of meetups, and a blog, the team at Makery decided to dream bigger, and go the extra mile: they set out to organize an all-day Kotlin conference. Here's the recap for this excellent event.
經(jīng)過多年的運行 Kotlin 布達佩斯用戶組井联,許多 Meetup卜壕,和一個博客,Makery 的團隊 決定讓他們的夢想走的更遠(yuǎn).他們出發(fā)烙常,組織一整天的 Kotlin 會議在離他們一英里的地方轴捎。下面是這個精彩事件的回顧。Conference for Kotliners 2018 (www.youtube.com)
KotClint2018 會議
Here's the playlist for all the excellent presentations from Conference for Kotliners 2018 in Budapest, Hungary.
以下是在匈牙利布達佩斯舉行的 2018 年 Kotline 會議的所有精彩演講的播放列表蚕脏。Listeners with Observable, from Kotlin's Delegated Properties (www.kotlindevelopment.com)
從 Kotlin 的委托屬性可以觀察到的聽眾
Listening to the event of a property being changed is a highly common task. Kotlin comes to the rescue with a built-in language feature - enter the observable property. András Kindler shares a couple examples.
聽一個被改變的財產(chǎn)的事件是一個非常普遍的任務(wù)侦副。Kotlin 用一個內(nèi)置的語言功能來拯救,輸入可觀察到的屬性驼鞭。AndrásKindler 有兩個例子秦驯。Awesome Kotlin Resources (www.kotlinresources.com)
極棒的 Kotlin 資源
The ultimate resource list for your most loved coding language
您最喜愛的編碼語言的最終資源列表
-
Text Categorization with Naive Bayes (youtube.com)
基于樸素貝葉斯的文本分類
A walkthrough of how to implement Naive Bayes from scratch, and use it for practical text categorization. Gotta love ML and Kotlin.
本文介紹了如何從零開始實現(xiàn)樸素貝葉斯,并將其用于實際文本分類挣棕。我要去愛 ML 和 Kotlin译隘。
文章主要來源:
關(guān)于我:微博,簡書洛心,掘金固耘,Github。