Two-way Android data binding
Fabio Collini
34123

This is really great. Thanks for this ..
In your first example both edittext field has same binding text and a change in one causes same change in other.
android:text=”@{echo.text}”

but i want to bind the text fields in such a way that when user types something in first EditText, the second EditText should automatically update along with some operations on first EditText.
i mean,
if input in first edittext is 2,
the second edittext should automatically update as :
(value of first edittext) *2
i.e, it should display 4.

Is it possible to obtain such result in this same example.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.