在 Init 中关闭视图模型(向后导航)
Close view model (navigate back) in Init
我正在尝试在 ViewModel 中调用 Init
中的 Close(this)
以返回导航,但是当 运行 在 Android。
mvx:Warning: 7.59 Ignoring close for viewmodel - rootframe's current page is not the view for the requested viewmodel
这里可以Close
吗?
也许我处理这个问题有误。我想打开一个基于 string
的连接,我正在传入 Init
,如果它失败,显示祝酒词(或等效通知)并返回。
没有。你也不能在 Start
.
我正在尝试在 ViewModel 中调用 Init
中的 Close(this)
以返回导航,但是当 运行 在 Android。
mvx:Warning: 7.59 Ignoring close for viewmodel - rootframe's current page is not the view for the requested viewmodel
这里可以Close
吗?
也许我处理这个问题有误。我想打开一个基于 string
的连接,我正在传入 Init
,如果它失败,显示祝酒词(或等效通知)并返回。
没有。你也不能在 Start
.