There are 3 logical variables:
<data> <variable name="isSticker" type="boolean" /> <variable name="first" type="boolean"/> <variable name="second" type="boolean"/> </data>
And have a View
<View> app:backgroundRes="@{first|| second? R.drawable.ic_bubble_mine : R.drawable.ic_bubble_mine2}" </View>
How to add to the app:backgroundRes condition, that if isSticker == true , then the background absent, and if false , then the current expression is already executed?