I have a Gallery and a custom layout for its items. There are two buttons on each. Every time I touch an item View, its buttons become pressed.
When I click a button, another one doesn’t receive onPressed state, however both of them receive it when I click near by.
How to prevent changing state of untouched buttons?
I’ve already had an overridden class as container where the buttons are. So the way it was mentioned by Luksprog I override setPressed()