codelab-android-databinding
codelab-android-databinding copied to clipboard
Not high priority as I was incorporating the tutorial into an existing project, not using the base project. However, [Step 7](https://codelabs.developers.google.com/codelabs/android-databinding/#7) fails with an error similar to: `Error:Execution failed for...
"As you can see, a LiveData's value is set with the value property, and you can make one LiveData depend on another using [Transformations](https://developer.android.com/reference/android/arch/lifecycle/Transformations). This mechanism allows the library to...
How to use databinding in android 10 framework compile ? it seems framework/databinding was removed in some android release version. is it possible to use databinding in makefile or blueprint...
6. Dealing with user events "So far we've explored how to show data to the user but with the Data Binding library you can also handle user events and invoke...
I ran into this error when I ran the startup project in the emulator. ``` 2019-07-27 19:37:17.492 7228-7228/com.example.android.databinding.basicsample E/AndroidRuntime: FATAL EXCEPTION: main Process: com.example.android.databinding.basicsample, PID: 7228 java.lang.NoClassDefFoundError: Failed resolution of:...
"As you can see, a LiveData's value has to be set with setValue()", 'setValue()' is never used in the example code or in the code available in the repo
I'm using project from downloaded zip. I changed SimpleViewModel.kt and PlainOldActivity and after done page 7, compile error occurs. SimpleViewModel's members changed to LiveData, but both PlainOldActivitySolution2 and PlainOldActivitySolution3 using...
The example defines the binding adapter: ``` @BindingAdapter(value = ["app:progressScaled", "android:max"], requireAll = true) fun setProgress(progressBar: ProgressBar, likes: Int, max: Int) { progressBar.progress = (likes * max / 5).coerceAtMost(max) }...
Hi, Found issue in codelab. Line `binding.lifecycleOwner = this` missed in **PlainOldActivity** on step 7 (or earlier)