Data Binding Library to write declarative layouts and minimize the glue code necessary to bind your application logic and layouts.The Data Binding Library offers both flexibility and broad compatibility — it's a support library, so you can use it with all Android platform versions back to ...

learn more…| top users | synonyms

0
votes
0answers
19 views

Android DataBinding with Kotlin in Android Studio

I have been experimenting with Android Studio and DataBinding features with Kotlin. I am struggling with Android Studio and Observable/BaseObservable, which does not resolve BR references and marks ...
0
votes
1answer
23 views

What's the way to use MvvmCross Tibet binding?

The documentation of MvvmCross refers to Tibet binding, which allows to do the following binding expressions:Text FirstName + ' ' + LastNameand alsoIf(test, if_true, if_false)as some other ...
0
votes
0answers
18 views

Can't get the binding auto generated class to work

So I started a new project, mostly copying the architecture from https://github.com/MindorksOpenSource/android-mvvm-architectureI have it all almost compiling, I think, but for some reason my ...
1
vote
1answer
20 views

Android cannot generate view binders com.sun.tools.javac.code.Symbol$CompletionFailure:

I am getting error while trying to build http://stackoverflow.com/gradlew clean build. Here is the error I'm getting.error: cannot generate view binders com.sun.tools.javac.code.Symbol$CompletionFailure: class file for ...
0
votes
0answers
24 views

Partially conditional RecyclerView item view

I have base recycle view item layout.<?xml version="1.0" encoding="utf-8"?><layout xmlns:android="http://schemas.android.com/apk/res/android"><data><variable name=...
0
votes
1answer
14 views

Can't create current date in xml: mismatched input 'Date'

Android Studio 3.0. I use data binding. An here my xml:<?xml version="1.0" encoding="utf-8"?><layout xmlns:android="http://schemas.android.com/apk/res/android"xmlns:app="http://...
0
votes
0answers
43 views

Android: find unused string resources taking into account generated binding classes

I cannot believe after searching for hours I have not found a reliable solution that will report all truly unused string resources in my android project. Android Lint does not work because it ...
0
votes
1answer
28 views

Databinding: ObservableField of custom object it is not working properly

In a test app I've one activity with one Edittext and a Button. Edittext is pointing to ObservableField of Person's name and on click of button, I'm modifying the person's name so that text inside the ...
1
vote
0answers
42 views

Android Architecture Components how to achieve two-way bindings for objects with ViewModel

Here is a very basic view model as suchclass MainViewModel: ViewModel() {val text=MutableLiveData<String>()val person=MutableLiveData<Person>()}I'm trying to achieve two ...
0
votes
1answer
33 views

Android Data Binding attribute with void argument

I made a custom attribute for data binding which doesn't require any argument and all it does is that valides the TextinputEditText but I can't figure out a way to pass void parameter in the xml ...
0
votes
0answers
45 views

Android Gradle execution failed on data binding

I am getting gradle build error ; execution failed for task ':app:compileDevelopmentDebugJavaWithJavac' , error: cannot find symbol.. It's really headache now. Here is the gradle logs ;symbol: ...
-4
votes
0answers
28 views

how android databinding ObservableField<T> works?

this question is solved.the answer is in the end of content!I use ObservableField in global setting,T is a simple pojo not extend baseObservable,this OF(ObservableField) will not trigger ...
0
votes
0answers
18 views

How to use Retention @interface in the Databinding xml?

I am using Android Dataginding. I have a layout which has ten Textviews.I am using a listener bindings like below to catch call back in my ViewModel class(This is MVVM).android:onClick="@{() ->...
0
votes
0answers
13 views

Android databinding list of propertyIds

I'm looking at a new project that uses databinding and certain property changes are not handled. The problem is that I don't know what the propertyIds are that go with said changes.I can't find the ...
1
vote
2answers
47 views

Data Binding plugin uses old version of Support library

I am getting this error after updating Support libraries to 27.0.2.Error:Execution failed for task ':app:preDebugBuild'.> Android dependency 'com.android.support:support-v4' has different ...

153050per page
angop.ao, elkhabar.com, noa.al, afghanpaper.com, bbc.com, time.com, cdc.gov, nih.gov, xnxx.com, github.com,