ios - MvvmCross ViewModel transition from the left -
I am developing an app for iOS using MvvmCross, I suppose I have some basic report data on one that The tableview is displayed in.
A new line containing table report containing a detailed report is displayed by creating ShowViewModel passing a few parameters in the call. It works fine.
When the user swipe left or right, the app needs to show the detail report for the next or previous item in the original list. I am doing this by updating some parameters and then calling ShowViewModel. The logic behind this is working fine.
My problem; ShowViewModel animates the new scene coming from the right. This is true when the user swipe to the left, though it sounds intuitive when swiping right. How can I make ShowViewModel animate or transition from the left side?
If you look for the MvvmCross source code you see how the default behavior is visible ViewControllers
You need to change it by doing something like the following:
For that, have an idea for a custom view presenter and hold for that particular visual-model Navigation (override shows (see IMvxTouchView))
Or, perhaps extracted from UINavigationController, it is set to MvvmCross Temal to (see MvxSetup), and the transition to change some events
Similar to the question
Comments
Post a Comment