mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-11-24 08:55:14 +03:00
using RefreshControl and List/Scroll in pair from same package
This commit is contained in:
parent
0e3d6511b8
commit
3f0515b934
@ -1,12 +1,12 @@
|
||||
/* eslint-disable react/jsx-wrap-multilines */
|
||||
import React, { PureComponent } from 'react';
|
||||
import { connect } from 'react-redux';
|
||||
import { View, ActivityIndicator, RefreshControl, Text } from 'react-native';
|
||||
import { View, ActivityIndicator, Text } from 'react-native';
|
||||
import { injectIntl } from 'react-intl';
|
||||
// Constants
|
||||
|
||||
// Components
|
||||
import { FlatList } from 'react-native-gesture-handler';
|
||||
import { RefreshControl, FlatList } from 'react-native-gesture-handler';
|
||||
import EStyleSheet from 'react-native-extended-stylesheet';
|
||||
import { ContainerHeader } from '../../containerHeader';
|
||||
import { FilterBar } from '../../filterBar';
|
||||
|
@ -7,10 +7,10 @@ import React, {
|
||||
useEffect,
|
||||
Fragment,
|
||||
} from 'react';
|
||||
import { ActivityIndicator, Platform, RefreshControl, Text } from 'react-native';
|
||||
import { ActivityIndicator, Platform, Text } from 'react-native';
|
||||
import { useIntl } from 'react-intl';
|
||||
import { useNavigation } from '@react-navigation/native';
|
||||
import { FlatList } from 'react-native-gesture-handler';
|
||||
import { FlatList, RefreshControl } from 'react-native-gesture-handler';
|
||||
|
||||
// Components
|
||||
import { postBodySummary } from '@ecency/render-helper';
|
||||
|
@ -7,7 +7,6 @@ import { useAppSelector } from '../../../hooks';
|
||||
import { CoinActivity } from '../../../redux/reducers/walletReducer';
|
||||
import styles from './children.styles';
|
||||
import { limitOrderCancel } from '../../../providers/hive-trade/hiveTrade';
|
||||
import { walletQueries } from '../../../providers/queries';
|
||||
import { useQueryClient } from '@tanstack/react-query';
|
||||
import QUERIES from '../../../providers/queries/queryKeys';
|
||||
|
||||
|
@ -1,9 +1,9 @@
|
||||
import React, { forwardRef, useEffect, useImperativeHandle, useState } from 'react';
|
||||
import { useIntl } from 'react-intl';
|
||||
import { FlatList } from 'react-native-gesture-handler';
|
||||
import { FlatList, RefreshControl } from 'react-native-gesture-handler';
|
||||
import { useNavigation } from '@react-navigation/native';
|
||||
import { StackNavigationProp } from '@react-navigation/stack';
|
||||
import { RefreshControl } from 'react-native';
|
||||
|
||||
import unionBy from 'lodash/unionBy';
|
||||
import AccountListContainer from '../../../containers/accountListContainer';
|
||||
import ROUTES from '../../../constants/routeNames';
|
||||
|
@ -1,10 +1,10 @@
|
||||
/* eslint-disable react/jsx-wrap-multilines */
|
||||
import React, { Fragment, useState, useEffect, useRef } from 'react';
|
||||
import { SafeAreaView, View, RefreshControl, Text, AppState, AppStateStatus } from 'react-native';
|
||||
import { SafeAreaView, View, Text, AppState, AppStateStatus } from 'react-native';
|
||||
import { isArray } from 'lodash';
|
||||
|
||||
// Containers
|
||||
import { FlatList, gestureHandlerRootHOC } from 'react-native-gesture-handler';
|
||||
import {RefreshControl, FlatList, gestureHandlerRootHOC } from 'react-native-gesture-handler';
|
||||
import { useIntl } from 'react-intl';
|
||||
import moment from 'moment';
|
||||
import { LoggedInContainer } from '../../../containers';
|
||||
|
Loading…
Reference in New Issue
Block a user