-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(Tutorial) ReactiveCommands in ViewModel constructor don't work #4475
Comments
https://github.com/Rhywun/avalonia-todo/blob/master/Views/AddItemView.xaml#L13
while it should be
https://github.com/Rhywun/avalonia-todo/blob/master/ViewModels/MainWindowViewModel.cs#L14 |
Thank you!! Everything works now. Ugh I remember typing in your second line and I thought it was a misprint :) Might I suggest providing the source code for the tutorial on the website? I didn't find it in the framework's samples/ directory either. It might help others by providing a way to diff any changes. |
Hello! Link is already exist:
|
Great, thanks! I missed it. Closing |
Happy to help. Btw, there are also places where you can ask Qs about Avalonia:
First two are probably preferable since they have "official" (mention in ReadMe) support. I do think it would better than raise issues especially in case of something simple. Avalonia has reached the good shape and answering questions is area where community can help easily. To emphasize: this is only my personal position and maintainers may think differently. My arguments are the following:
|
"Chat" is not my favorite format but I will take it under consideration. Thanks PS. The progress since I first looked at Avalonia a couple years ago is fantastic. Much appreciated. |
I am following the tutorial on macOS 10.15.5 and .NET Core 3.0. All is well until the final page which adds the functionality for the OK and Cancel buttons in the constructor of the AddItemViewModel class. There are two problems upon running:
Repro here.
Thanks
The text was updated successfully, but these errors were encountered: