6

First, let me tell u that i am stressed out by this, because i don't even know the concept / method name, so i can't even search it in google as i don't know the keywords, but ill try my best to explain it. Feel free to modify my contents and title as you see fit.

what i want to achieve is this: i have view group contains many child views, or it can be GridView i want to able to block select some of it child views, and return the selected / blocked items.

pictures worth more than thousands words: enter image description here

any help is appreciated, thank you very much.

DeckyFx
  • 1,308
  • 3
  • 11
  • 32

1 Answers1

0

I used the keyword "box select" to Google such feature.

I am not sure what is the specific implementation for Android, but there is plenty of implementation for web / browser, e.g. select.js

The gist is to loop through all "elements" and check whether the element falls into the the "box select" area.

Dharman
  • 30,962
  • 25
  • 85
  • 135
empiskm
  • 131
  • 1
  • 6