Skip to content

Shared Pull To Refresh #20

@alexpchin

Description

@alexpchin

Feature request

You may want to implement a pull to refresh that is shared across all tabs. This might just be good to be included in the examples.

Current behavior

Currently, the examples load a pullToRefresh from each tab's scene independently. I.e. if you do not implement a pull to refresh on each tab, then depending on what tab you are on you you'll get different behaviour.

TAB

  • Scene1: FlatList with images
  • Scene2: Static user information
  • Scene3: ScrollView with other information

Proposed solution

A shared pullToRefresh that implements a "refreshing" value that can be used trigger a useEffect in each scene.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions