title: How to change the source of image by using setNativeProps in react native
body: <p>I am developing UI in react native, In this <code>&lt;Image&gt;</code> is used with source and i wanted to change the image source by setNativeProps not by state.</p>
  
  <p>my code is:</p>
  
  <pre><code>&lt;Image source={require('imagePath')} ref="icon"/&gt;
  </code></pre>
  
  <p>On certain Event i want to change its source:</p>
  
  <pre><code>this.refs['icon'].setNativeProps({
      source: require('newImagePath')
    });
  </code></pre>
  
  <p>But nothing happens, its not change.
  By using NativeProps the style of image is changed but the props like source and like that not changes.</p>
  
  <p>So please give me a solution that how can i change the source of image on any certain event by using its refs or key (not by using this.setState)</p>