Skip to content
This repository was archived by the owner on May 12, 2020. It is now read-only.
This repository was archived by the owner on May 12, 2020. It is now read-only.

Complete Example showing all available events and properties ? #21

@shidhincr

Description

@shidhincr

Sorry to ask this again ( I saw a couple of closed tickets ), But it's kind of hard to implement the infinite scrollView.

Can someone provide a complete working example of how to use canLoadMore , isLoadingMore and onLoadMoreAsync for the infinite scrolling ?

Including a screenshot would be super helpful.

PS: I am facing another problem with the listView. I was using the contentContainerStyle to show the grid style inside the listView ( as explained here). With this set-up, I am not sure how to implement the infinite scrolling. Can someone lead me to the right direction ?

This is how the listView now:

<ScrollView>
          <ListView
            dataSource={items}
            contentContainerStyle={styles.gridContainer}
            renderRow={(details) => Product(details, this.onPressAction) }
            onEndReachedThreshold={40}
            onEndReached={this.onEndReached}
          />
</ScrollView>

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions