Xamarin Mvmcross Tab Navigation Between View Models
I have two screens which are linked to two tab buttons Name Duration I would like tab to move to second button when I click Next button. In my view model this is my command for
Solution 1:
I this situation i would not use the MvvmCross ViewModel navigation, because to use that you probably have to create a custom presenter.
What you can do is just add a button click in the Activity or Fragment itself and use the following code:
var viewPager = view.FindViewById<ViewPager>(Resource.Id.viewpager);
viewPager.SetCurrentItem(1, true);
Post a Comment for "Xamarin Mvmcross Tab Navigation Between View Models"