#166 2021-04-04
Kotlin 1.5.0-M2、Jetpack Composeの再構成の裏側、Now in Android エピソード37、InflationInject v1.0.0、Android Studio 4.1 で Compose Beta を使う、など
loading share widgets...
KotlinのREPLツール
GitHubで見るhttps://blog.jetbrains.com/kotlin/2021/04/ki-the-next-interactive-shell-for-kotlin/
Shellで動作するKotlinのREPLツールが紹介されています。
Jetpack Composeの再構成の裏側
GitHubで見るhttps://dev.to/zachklipp/scoped-recomposition-jetpack-compose-what-happens-when-state-changes-l78
Steteが変更されたときに、どのように再構成(Recomposition)されるかを解説しています。
特定の端末のみで起こる WebView プチフリーズを Tracing を利用して追った話
GitHubで見るhttps://developer.smartnews.com/blog/2021/03/chrome_tracing/
ちょっと Web よりの話題ですが、WebView のリモート inspect でも Chrome の tracing 機能を使える、という話です
Now in Android エピソード37
GitHubで見るInflationInject v1.0.0
GitHubで見るhttps://www.reddit.com/r/androiddev/comments/metzvf/inflationinject_v100_released/
https://github.com/cashapp/InflationInjectカスタムViewで Dagger のコンストラクタ・インジェクションを実現するライブラリです。
LayoutInflater Factory を利用して実現しています。Square 製です
Android Studio 4.1 で Compose Beta を使う
GitHubで見る