So I have a selector on a list view, where each row has 2 text views
and each text view has another selector in sync(different drawables for the same states: activated
and pressed
) with the one on the list. My logic is when I detect a fling on an item in the list view, I temporarily change the background color of that view and after 500ms set it back to transparent.
But, when it resets sometimes the child view has its pressed state set to true and sometimes not either ways the view has the correct bg but the inner text views
always correspond to their activated drawables
even when pressed state is false.
I can't seem to figure out how to correct this behavior. Any help is much appreciated, this thing is driving me nuts.
I've tried clearing choices which doesn't help, I've even tried to explicitly force the child view to set false for its activated state and pressed state that doesn't do goo either. I've really run out of options with this.