#453 2026-11-15
Kotlin 2.5.0-Beta2にif elseの新しい書き方、Kotlin 2.5.0-Beta2で入ったFull Value classesの紹介、など
loading share widgets...
アプリの任意のレイヤでStateを共有できるAppStateライブラリ
GitHubで見るhttps://developer.android.com/topic/libraries/architecture/appstate
Transform / StateStoreを定義しています。ユースケースとしては例えば、UIからDataStoreを繋ぎこむといったことができるそうです。
Kotlin 2.5.0-Beta2に実験的に入ったif elseの新しい書き方
GitHubで見るhttps://proandroiddev.com/clean-up-your-conditional-logic-exploring-kotlin-2-5-0-beta2s-new-boolean-nullable-utilities-7854207156ea
https://kotlinlang.org/docs/whatsnew-eap.html#standard-libraryメソッドチェインの様に add("aaa").onTrue { ... } のように書ける様になります。
Kotlin 2.5.0-Beta2で入ったexperimentalな機能 Full Value classesの紹介
GitHubで見るhttps://ardakazanci.com/posts/kotlin-2-5-full-value-classes/
複数のフィールドを持たせられる様になる機能ですが、どのような動作になるかを詳細しています
KoinライブラリのSkillsが追加
GitHubで見るhttps://blog.insert-koin.io/koin-skills-koin-the-right-way-with-your-agent-4fe1b49d511c
ClaudeコードなどのAIからより使いやすくなりそうです