I use a GalleryView to display string with a BaseAdapter
No problem to change the background and text color depending on the item state (selector)
But I want to change the background and text color only if the item is clicked not just selected, the GalleryView item state changes with the selected event which is called when you fling around (the centered item is automatically selected)
In 2 words the background mustn’t change if the item isn’t clicked
How can I go with it ?
You must capture the selected event and change the background of the view to unselected.
Store last clicked position to avoid changing its selected background. Also, store last clicked view to restore unselected background when another item is clicked without flinging:
If it’s too late for you Fluckysan at least hope it helps to anyone who’s having the same problem.
Happy coding!