You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When i use a MvxPagePresentationHint to navigate to a view in which is wrapped in a navigation controller it does not navigate to the tab for this view model
Expected behavior
It should navigate to the view model passed in with the presentation hint.
Reproduction steps
1.) Create a view controller which is wrapped in a navigation controller using the MvxTabPresentationAttribute
2.) try to navigate to this view using ChangePresentation(new MvxPagePresentationHint(YourViewModelType))
Configuration
Version: 8.0.2
Platform:
馃摫 iOS
馃 Android
馃弫 WPF
馃寧 UWP
馃崕 MacOS
馃摵 tvOS
馃悞 Xamarin.Forms
The text was updated successfully, but these errors were encountered:
from debugging i have found that inside ChangePagePresentation that GetViewModelType is returning IMxvViewModel for my view controller instead of my bespoke view model type
Im seeing now that the ViewModel property for my view controller that i'm looking to navigate too is null and hence why it is not finding the right type. Any suggestions?
馃悰 Bug Report
When i use a
MvxPagePresentationHint
to navigate to a view in which is wrapped in a navigation controller it does not navigate to the tab for this view modelExpected behavior
It should navigate to the view model passed in with the presentation hint.
Reproduction steps
1.) Create a view controller which is wrapped in a navigation controller using the
MvxTabPresentationAttribute
2.) try to navigate to this view using
ChangePresentation(new MvxPagePresentationHint(YourViewModelType))
Configuration
Version: 8.0.2
Platform:
The text was updated successfully, but these errors were encountered: