Skip to content

Force reload of previous page to update dynamic data when navigating back  #607

Closed
@sorakthun

Description

@sorakthun

Since Nativescript caches current page when navigating forward, navigating back means that any changes made in the new page won't be recognized by the current page. How then do I force a reload of the cached page when navigating back?

To solve this, I try to create a pseudo page (a new layout and some animation) but that's not at all practical since ngOnInit is never called again as discussed in issue #374. It would be very inconvenient to make user do pull to refresh constantly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions