Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Navigation][TabBar][NavView] Avoid using reflection when navigating through tabs with a region attached #2690

Open
1 task done
erikvilima opened this issue Feb 10, 2025 · 0 comments
Labels
kind/enhancement New feature or request. triage/untriaged Indicates an issue requires triaging or verification.

Comments

@erikvilima
Copy link
Contributor

What would you like to be added:

When navigating using a TabBar or NavigationView with a Grid to hold the content of its items, it would be great if reflection was not used, since the items are already there.

As an example we have the code shown in the docs:

NavigationView
TabBar

If there are no RouteMaps for the tabs, when preparing the request to navigate Navigation goes searching for a view or view model to dynamically create a RouteInfo for that navigation. But there would be no views nor VMs associated there. So in the end it ends up creating a RouteInfo with only the path here.

Why is this needed:

For which Platform:

  • All

Anything else we need to know?

@erikvilima erikvilima added kind/enhancement New feature or request. triage/untriaged Indicates an issue requires triaging or verification. labels Feb 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement New feature or request. triage/untriaged Indicates an issue requires triaging or verification.
Projects
None yet
Development

No branches or pull requests

1 participant