title: How to display particular image by clicking one flatlist images in react native?
body: <p>I have a flat list that returns multiple images. but I want to show an image on another view by clicking FlatList image. when I click on FlatList image that particular image will be shown in another view. how to do please suggest.</p>
  <p>Here is my FlatList:</p>
  <pre><code>&lt;FlatList
    data={this.state.images}
    renderItem={this.renderGalleryImage}
    keyExtractor={(item, index) =&gt; index}
    horizontal={true}
  /&gt;;
  
  renderGalleryImage = ({ item }) =&gt; {
    return &lt;Image source={item} style={styles.moreImg} /&gt;;
  };
  </code></pre>
  <p>and here is the view where I want to display</p>
  <pre><code>&lt;View&gt;
  &lt;/View&gt;
  </code></pre>