import * as React from 'react';
import {
View,
Text,
FlatList,
RefreshControl,
ScrollView,
StyleSheet,
TouchableWithoutFeedback,
Image,
} from 'react-native';
import useFetchData from '../../hooks/useFetchData';
import Loading from '../../components/shared/Loading';
import NetworkError from '../../components/shared/NetworkError';
import Colors from '../../constants/Colors';
const url = '/api/v2/home.json';
const HomeScreen = ({ navigation }) => {
...