title: Check if two views overlap in react native
body: <p>Does anyone have any idea how one would go about to check if two views (child views of a parent container) overlap in react native? </p>
  
  <p>It would also be nice if i didn't be a super stressful operation (i.e. measuring all views and alike) since I would like it to be done quite frequently.</p>
  
  <p>Any ideas are much appreciated! :)  </p>
  
  <p>Edit:
  I realize that my question was really generic, so I'll try to make it a bit more clear cut.</p>
  
  <p>What I want to achieve is some kind of watcher function to detect a collision between two views that can change position on re render.</p>
  
  <p>E.g.(Sorry I can't embed images due to too low rep):
  <a href="http://i.stack.imgur.com/xbzTq.png" rel="nofollow">Scenario</a></p>
  
  <p>In the image above the two views can change position on a specific event, And I need a callback for when these two overlap.</p>