ReactiveUI.Samples | This repository contains ReactiveUI samples | Reactive Programming library
kandi X-RAY | ReactiveUI.Samples Summary
kandi X-RAY | ReactiveUI.Samples Summary
This repository contains ReactiveUI samples.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of ReactiveUI.Samples
ReactiveUI.Samples Key Features
ReactiveUI.Samples Examples and Code Snippets
Community Discussions
Trending Discussions on ReactiveUI.Samples
QUESTION
Description
After downloading the getting started project from git : https://github.com/reactiveui/ReactiveUI.Samples/tree/main/wpf/getting-started
I'm not able to get the xaml part working. I get the following error on the main window : The name "ReactiveWindow" does not exist in the namespace "http://reactiveui.net"
I restored NuGet package. I rebuilt the solution. All the C# code works like charm, only xaml views and user controls get this namespace error.
Steps To Reproduce
Clone the repository : https://github.com/reactiveui/ReactiveUI.Samples.git Open solution : ReactiveUI.Samples/wpf/getting-started/ReactiveDemo.sln Restore nuget Rebuild solution Open MainWindow.Xaml Notice the xaml error
Expected behavior
The project build and run
Can someone tell what I'm missing? Thanks for your help.
...ANSWER
Answered 2021-Apr-22 at 15:21I finally managed to solve the issue. I was missing a attribute x:TypeArguments="MainWindowViewModel" inside the the Window declaration.
QUESTION
I am struggling with ReactiveUI routing for my UWP Navigation View. Since Navigation View Item does not implement command I use ItemInvoked event and execute my command in my view model. Unfortunately, I am unable to show another page in the view. I was using the official tutorial and also Reactive UI UWP Example. When using breakpoint I can see that my command is executed but nothing happens. I have no clue how to debug this more. Did anyone implement Navigation View wit ReactiveUI Routing? My code: My repo
@Edit
POCOObservableForProperty: The class InwentarzRzeczowy.UWP.Views.MainView property ViewModel is a POCO type and won't send change notifications, WhenAny will only return a single value!
...POCOObservableForProperty: The class InwentarzRzeczowy.UWP.Views.MainView property RoutedViewHost is a POCO type and won't send change notifications, WhenAny will only return a single value!
ANSWER
Answered 2020-Sep-23 at 17:47I believe you need a .Subscribe()
after the AddPage.Execute() command in your event handler. I'm doing this from memory though and I remember something like that tripping me up.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install ReactiveUI.Samples
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page