#217 2022-03-27
Kotlin 1.6.20-RC2, Google Play 以外の課金オプション, Kotlin Coruitines の Shared Flow について, SwiftUI と Jetpack Compose の違い, など。
Jetpack Core Performance library
GitHubで見るhttps://android-developers.googleblog.com/2022/03/using-performance-class-to-optimize.html
デバイスごとのメディアのパフォーマンスを見てアプリで挙動を調整可能になるライブラリが追加に。Android 12以上ではMEDIA_PERFORMANCE_CLASSというIntが宣言されていて、12未満にも一部バックポートしてくれるようです。Google Play以外の課金オプションを導入
GitHubで見るhttps://android-developers.googleblog.com/2022/03/user-choice-billing.html
Google Play以外の課金オプションをパイロットとして少数の開発者が提供するできるようになります。まずはSpotifyから開始されていきます。
CoroutineのShared Flowsについて
GitHubで見るhttps://code.cash.app/rx-to-coroutines-shared-flows
Rxのhot observablesと、Coroutineのshared flow(hotのようなもの)の比較を解説しています。
2022年3月23日のAndroidXリリース
https://developer.android.com/jetpack/androidx/versions/all-channel?hl=en#march_23_2022
今回安定版のリリースはありませんが、 Drag And Drop が 1.0.0-beta01 に、 MediaRouter が 1.3.0-rc01 に到達しています
GitHubで見る-
Ian Lake 氏のまとめツイートはこちら
No stable Jetpack releases today, but that doesn't mean we can't talk about MediaRouter 1.3.0-rc01, Drag and Drop hitting 1.0.0-beta01, or any of the new features now available in alpha releases.https://t.co/tP1K0fhDtA
— Ian Lake (@ ianhlake) March 23, 2022
-
Androidエンジニアから見たSwiftUIとJetpack Composeの違い
GitHubで見る
M1: https://github.com/JetBrains/kotlin/releases/tag/v1.6.20-M1
RC1: https://github.com/JetBrains/kotlin/releases/tag/v1.6.20-RC
上記チェンジログも合わせると全体が見えます