Question: I am using the binding in edittext like this

```
android:text='@={autuacao.equipamento.limite  + ""}'

```

limite is a primitive double.

But when the activity starts, the edittext is initialized as 0.0, and i need it to be empty, how can i do this?

Answer: 
Tynn The answer was almost there but the parameters should be like below, and i didn't need the inverse binder.

```
@BindingAdapter("android:text")
public static void setText(EditText editText, String value) {

    if (value == null) {
        return;
    }
    if (value.equals("0.0")) {
        editText.setText("");
    } else {
        editText.setText(value);
    }
}

```
**Kotlin Version:**

```
object DataBindingUtil {
    @BindingAdapter("android:text")
    @JvmStatic
    fun setExtraBehaviorForEditText(editText: EditText, text: String?) {
        if (text == "0" || text == "0.0") editText.setText("") else editText.setText(text)
    }
}

```