Escape And(&&) Operator In Android Data Binding
The following operator need to be escaped (XML escaped characters):
&
->&
<
-><
>
->>
"
->"
'
->'
android:visibility="@{!viewModel.isEdit && viewModel.categoryIdItemPosition != 0 ? View.VISIBLE : View.GONE}"
android:visibility="@{viewModel.categoryIdItemPosition > 0 ? View.VISIBLE : View.GONE}"