Can i databind a ProgressBar in Android?
问题 Is it possible to use data-binding for a SeekBar or ProgressBar in Android? I have this data element: <data> <variable name="foo" type="com.example.Foo" /> </data> If i refer to the variable foo.bar (which is an int) in a TextField, it works as expected: <TextView android:text="@{String.valueOf(foo.bar)}" [...] What I tried to do was this: <SeekBar android:progress="@{foo.bar}" [...] but it wasn't recognized. (As soon as I wrote an "@" between the quotes, it got red in the editor). Is there