如何使用MvxCachingFragmentActivity? [英] How to use MvxCachingFragmentActivity?

查看:47
本文介绍了如何使用MvxCachingFragmentActivity?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试仅使用Fragments进行导航,以进行逻辑删除,保存总的导航堆栈和参数等(与Xamarin.Android和MVVMCross一起使用)

I'm trying to work with navigation with only Fragments, for tombestoning, saving total navigation stack and paramaters, etc. (working with Xamarin.Android and MVVMCross)

我认为MvxCachingFragmentActivity包含所有必需的部分.

I think MvxCachingFragmentActivity contains all needed parts.

但是我似乎无法使其正常运行,也找不到任何与FullFragging一起使用的示例项目.最接近的例子是Cheesebaron https://github.com/Cheesebaron/MvxFragmentsAndHamburger 的示例,该注释删除了一些评论在活动被销毁后,加载它正常工作的ViewModel,但不进行FullFragging和NavigationStack的全部恢复.

But I can't seem to get it to work and I can't find any example project that works with FullFragging. Closest thing is the example from Cheesebaron https://github.com/Cheesebaron/MvxFragmentsAndHamburger , after removing some comments to load the ViewModels it worked but not for FullFragging and total NavigationStack recovery after activity has been destroyed.

有人建议从哪里开始?或使用导航与FullFragging并进行恢复的示例?

Anyone any suggestions where to start? or and example that uses navigation with FullFragging and of course recovery?

推荐答案

有一个正在进行的示例: https://github.com/steffkelsey/Xamarin_MvvmCross_MaterialDesign

There is an example that is a work in progress: https://github.com/steffkelsey/Xamarin_MvvmCross_MaterialDesign

这篇关于如何使用MvxCachingFragmentActivity?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆