/** * @flow */ import { createUncachedURI } from '../helpers'; import sources from '../sources'; import React, { PureComponent } from 'react'; import { Button, Image, StyleSheet, Text, View } from 'react-native'; class ImagePrefetchExample extends PureComponent { static propTypes = { source: Image.propTypes.source }; state = { events: [], showButton: true, startLoad: false }; render() { const { showButton, startLoad } = this.state; return ( {showButton ? (