Rob Rob - 9 months ago 54
Android Question

Select multiple ImageViews in activity.Is it possible?

There are a lot of questions on Stackoverflow about "Selecting multiple images from gallery".But is it also possible to select multiple ImageViews in my activity and highlight the selected views.My ImageViews are in Horizontal scrollview.Please tell me how to do this beacause I didn't find something like 'Selecting multiple views' in documentation.

Rob Rob
Answer Source

Use Hashmap, set default flags(0) and when the user selects a view change the flag(1) status and also background color.