IScreen.Router.Navigate.Execute 在 Xamarin.Forms 上无法使用 ReactiveUI 7
IScreen.Router.Navigate.Execute not working with ReactiveUI 7 on Xamarin.Forms
我这里有一个 Xamarin.Forms 项目,使用 RxUI 6.5.2 和一个使用路由器的非常简单的导航,它正在运行:
https://github.com/GiusepeCasagrande/RoutingSimpleSample/tree/ReactiveUI_6_5
但是(几乎)相同的代码不适用于 RxUI 7:
https://github.com/GiusepeCasagrande/RoutingSimpleSample/tree/master
任何人都可以指出我做错了什么或者这是某种错误吗?
@kentcb 在这里向我指出 https://github.com/reactiveui/ReactiveUI/issues/1166
Execute returns IObservable, and is lazy. You must subscribe to it
for anything to happen.
所以我更新了项目,现在它完美运行了!
我这里有一个 Xamarin.Forms 项目,使用 RxUI 6.5.2 和一个使用路由器的非常简单的导航,它正在运行:
https://github.com/GiusepeCasagrande/RoutingSimpleSample/tree/ReactiveUI_6_5
但是(几乎)相同的代码不适用于 RxUI 7: https://github.com/GiusepeCasagrande/RoutingSimpleSample/tree/master
任何人都可以指出我做错了什么或者这是某种错误吗?
@kentcb 在这里向我指出 https://github.com/reactiveui/ReactiveUI/issues/1166
Execute returns IObservable, and is lazy. You must subscribe to it for anything to happen.
所以我更新了项目,现在它完美运行了!