By adding IMvxModalTouchView to MyView, let the view become modal. But, I cannot change it at runtime. i.e. MyView must be modal every time. Is it possible to make it more flexible, let say, Show(MvxShowViewModelRequest view, bool isModal); ?

有帮助吗?

解决方案

This area of MvvmCross is called "preesentation"

Other Mvvm frameworks may refer to it as "INavigationService"

Within MvvmCross, the presenter on each platform is 100% overrideable. Some examples and source code links are provided on http://slodge.blogspot.co.uk/2013/06/presenter-roundup.html

If you want to implement some custom navigation hint, then:

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top