#47 2018-12-23
Kotlin Multiplatformでサービスを作る構想、AS 3.3RC3、Kotlin 1.3.20-eap2、Kotlin Census 2018、Google Playのアプリレビュー信頼度向上など
Kotlin Multiplatformでサービスを作る構想
GitHubで見るhttps://aakira.app/blog/2018/12/kotlin-mpp-reason/
https://aakira.app/blog/2018/12/kotlin-mpp-architecture/やっていきを感じますね。
私のチームもKotlin MPPで新サービスを作ろうとしているので、とても参考になりましたAndroid StudioをDistraction Freeにして使う話
https://www.reddit.com/r/androiddev/comments/a7a734/distractionfree_development_in_android_studio/
定期的に出る話題ですが、JakeがDistraction Free擁護派なので議論が活発です。
GitHubで見る-
なお、自分もJakeに影響されて、タブもナビゲーションも表示しないいわゆるZen Modeで作業していますが、とくに不便はないです。
-
AS 3.3 RC3とAS 3.4 Canary 9がリリース
https://androidstudio.googleblog.com/2018/12/android-studio-33-release-candidate-3.html
https://androidstudio.googleblog.com/2018/12/android-studio-34-canary-9-available.htmlAS 3.3 RC3はLintが速くなったようです。AS 3.4はレアイウトファイルのEditorビューで依存ライブラリのViewをIntention Action(Alt + Enter)で解決できるようになったようです。
GitHubで見るConstraintLayout 2.0.0 alpha 03がリリース
GitHubで見るhttps://androidstudio.googleblog.com/2018/12/constraintlayout-200-alpha-3.html
MotionLayoutまわりに変更が入ったようです
Google Playのアプリレビューを信頼できるものにする試み
https://android-developers.googleblog.com/2018/12/in-reviews-we-trust-making-google-play.html
Google Playチームが、不適切なレビュー操作やスパムレビューを自動的に検知する試みについて説明しています。記事内にもありますが、レビューをお金で買う行為や高評価に誘導することは最悪ストアからのバンもあり得るのでやらないようにしましょう。
GitHubで見る-
またスパムや不適切と思われるレビューにはPlay Consoleからもフィードバックできるようです
-
Kotlin 1.3.20 EAP2がリリース
GitHubで見るEarly Access Preview 2 for Kotlin 1.3.20 is here! In addition to new features and fixes in EAP 1, incremental compilation for Kotlin/JS is enabled by default for both JPS and Gradle projects. https://t.co/xukJQoGmTj
— Kotlin (@kotlin) 2018年12月20日Kotlin Census 2018が実施中
GitHubで見るThe Kotlin Census 2018 is out. Take the survey and help the team to understand how you use Kotlin in 2018 or what needs to be done to help you use it in 2019. Tell the World!https://t.co/KvROmwQO1E pic.twitter.com/43KRlPpTOo
— Kotlin (@kotlin) 2018年12月20日https://blog.jetbrains.com/kotlin/2018/12/kotlin-census-2018/
Kotlinの利用状況調査です
WorkManager 1.0.0 beta1
GitHubで見るhttps://developer.android.com/jetpack/docs/release-notes#december_19_2018
ベータになったようです。基本的にAPI変更はなしでバグ修正だけになりそうな気配です。
Navigation 1.0.0 alpha09
https://developer.android.com/jetpack/docs/release-notes#december_18_2018
いくつかBreaking Changesがあるようです
GitHubで見る-
navigation-testing
の開発を中止する、っていうのは結構な決断ですね
今後はモックしてのテストが推奨されるようです
-
今週のAndroidXリリース
GitHubで見るhttps://developer.android.com/jetpack/androidx/androidx-rn#2018-dec-17
毎週のようにリリースされていますが今週もリリースされたようです。SavedStateライブラリがちょっと気になります。
Kotlin MPPな環境で
@Parcelize
を使う方法についてまとめたこちらも参考になります。expect
で共通コードにエイリアスのアノテーションを定義して、android側のコードで@Parcelize
をactual
にするようです。https://aakira.app/blog/2018/12/kotlin-mpp-android-parcelable/