Skip to content

FlatList pagination not working  #152

Open
@kalyanijamunkar10

Description

@kalyanijamunkar10
        <ParallaxScrollView
               onScroll={onScroll}
               backgroundColor={themeColor}
               headerBackgroundColor={themeColor}
               stickyHeaderHeight={STICKY_HEADER_HEIGHT}
               parallaxHeaderHeight={PARALLAX_HEADER_HEIGHT}
               renderBackground={() => (
                <View key="background"/>
               )}
              renderForeground={() => (
                  <View key="parallax-header" style={styles.parallaxHeader}>
                      {this.title()}
                 </View>
             )}
            renderFixedHeader={() => (
              <View key="fixed-header" style={styles.fixedSection} />
          )}>
          <FlatList
             extraData={this.state}
            data={this.state.data}
             renderItem={({item, index}) => this.renderCards(item, index)}
             onEndReached={this.props.handleLoadMore}
             onEndReachedThreshold={10}
        />
    </ParallaxScrollView>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions