What's new in architecture components (Google I/O'19)
Why Stack Overflow recommends it
Stack Overflow users link it when answering Android questions about WorkManager background work and about view access with View Binding and Data Binding.
Recommended by 2 people across 2 different months, 2019 to 2019.
What it is
A 37-minute Google I/O 2019 session from the Android Developers channel covering recent updates to Android Architecture Components and new Jetpack libraries for 2019. It is presented by Google engineers including Yigit Boyar, Sumir Kataria, Sergey Vasilinetc and Daniel Santiago Rivera.
What people said
Recommends san · 2019-10 · Stack Overflow · on “In android version 8.0 I used work manager to fire a broadcast on periodic time, But when I clear an app from recent tasks It is not working”
@MarkKowalski Because the devices which are restricted for battery optimization is above Nougat. You can check this video regarding android workmanager. they are trying to fix this by contacting manufacturers. [this video]
Recommends mochadwi · 2019-11 · Stack Overflow · on “Kotlin Android Extensions giving Layout Null Pointer”
I see, thanks for the input. Would you mind giving me a hint to edit the answer? or you might want to edit my answer directly @Eliezer If I recall correctly. Without `containerView.*` access, KTX will automatically import the synthetic properties of `my_layout.xml` and thus giving me the NPE. And, I try to use `LayoutContainer` & using `containerView` to access the child view. This is why I prefer to use Data Binding from google: [this video]
Cites Rvb84 · 2019-09 · Stack Overflow · on “Kotlin Android View Binding: findViewById vs Butterknife vs Kotlin Android Extension”
There are a lot of ways to access views in Android. A quick overview: [LINK] My advise would be: findViewById: old school. Avoid. ButterKnife: old school, but less boilerplate and some added functionality. Still lacks compile time safety. Avoid if possible. Kotlin Synthetic: really a elegant cached version of findViewbyId. Better performance and way less boilerplate but still no (real) compile time safety. Will be no longer supported from Kotlin 1.8. Avoid if possible. ViewBinding: Google's recommendation nowadays. It's faster than databinding and prevents logic errors inside XML (hard to debug). I use this option for all new projects. Data Binding: most versatile option, since it allows cod