FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[Android] Keep nativeViews when navigating forward · Issue #4808 · NativeScript/NativeScript · GitHub

[Android] Keep nativeViews when navigating forward #4808

Description

When navigating forward through page.frame.navigate method we are destroying nativeViews. With this change we will no longer destroy nativeViews so this will make backward navigation faster. It will also improve forward navigation because we won't do anything with the current page.

Side changes done because of this feature:

  • As there is no API to get the default animation we are using reflection once in order to extract the default animator from resources.
  • When navigating without animation we create animation with duration 0
  • We now always wait for animation completion even if the default or no animation is used (because of the above changes)
  • Simplified and refactored navigation & transition classes
  • Removed cycling module dependency

All these should produce more fluid navigation between pages in both directions.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


    Back | FazBrowse Home | New Git URL