#108 2020-02-23
Android 11のプレビューが公開、AsyncTaskがAndroid11からdeprecatedに、Kotlin 1.3.70 EAP3、2020年2月19日のAndroidXリリース、など
JSONのキー順序をランダムにするShimoが公開
GitHubで見るhttps://github.com/JakeWharton/shimo/
MoshiのAdapterですが、Serialize/Deserialize時にJSONオブジェクトのキーの順番をランダムに入れ替えることで順番に依存したコードがないか発見するためのライブラリだそうです。
Android 11のプレビューが公開
GitHubで見るhttps://android-developers.googleblog.com/2020/02/Android-11-developer-preview.html
https://developer.android.com/preview/downloadflushイメージで公開されています。Betaからは数週間以内に出来るようになるそうです。
AsyncTaskがAndroid11からdeprecatedに
GitHubで見るhttps://developer.android.com/reference/android/os/AsyncTask.html
This class was deprecated in API level R.
Use the standard java.util.concurrent or Kotlin concurrency utilities instead.Android11でついにキーボードの表示状態をチェックするAPIが追加される
GitHubで見るOne of my favourite changes in #AndroidR is the revamp of the WindowInsets API
— Chris Banes (@ chrisbanes) February 20, 2020
For example, we now have way to detect when _and_ where the IME is visible on screen ⌨️📐 pic.twitter.com/Wy95yhGzFKKotlin 1.3.70 EAP 3
GitHubで見るAndroid Studio 4.0からNativeライブラリをGradleで追加可能に
GitHubで見るAndroidXのSnapshotビルドを使う
GitHubで見るhttp://rahulrav.com/blog/using_snapshot_builds.html
startupなどのリリースされていないライブラリや、Composeの最新を試すのに便利そうです。
2020年2月19日のAndroidXリリース
GitHubで見るhttps://developer.android.com/jetpack/androidx/versions/all-channel?hl=en#february_19_2020
いろいろなパッチリリースが出ています
Navigation 2.3.0-alpha02では、ついに
onActivityResult
の代替となるAPIが実装されていますMaterial Motionを実装する
GitHubで見るhttps://medium.com/google-design/implementing-motion-9f2839002016
Material Components for Android 1.2.0-alpha05で新たに追加されました。
Flutter向けにも同時にリリースされているようです
AndroidXでのバックポートも検討しているようです