in my app i use a GridView with several random placed ImageViews. User should select an image. To mark the selected one i use setBackgroundColor() for the view. My problem is, if user want now to select another image, the background from previous selected image (or all images in the grid) must be reset (or set to white). Any idea how to do this?
Or, is there another possibility to implement it, so that selected image in a grid will be highlighted?
EDIT: Thank you for all hints in comments. Solution below.