Replies: 1 comment
-
Posting this the same answer from the orginal discussion in the MAUI Community Toolkit discussion (here) for future reference:
|
Beta Was this translation helpful? Give feedback.
-
Posting this the same answer from the orginal discussion in the MAUI Community Toolkit discussion (here) for future reference:
|
Beta Was this translation helpful? Give feedback.
-
In Maui the maintainers are saying if you use MVVM then you should use CommunityToolkit.Mvvm by Microsoft.Toolkit which is perfectly fine. It does have everything that you would need from Xamarin.Community.Toolkit ObjectModel. But the CommunityToolkit.Mvvm AsyncRelayCommand does not have a way to stop multiple executions like the old Xamarin.Community.Toolkit did. And that was really handy because almost 100% of my calls into the Xamarin.Community.Toolkit AsyncCommand had allowsMultipleExecutions set to false so the user could not double click buttons and stuff. I really do miss that in the AsyncRelayCommand in the CommunityToolkit.Mvvm. Since the new CommunityToolkit.Maui will no longer have the AysncCommand and we are told we should use CommunityToolkit.Mvvm I thought we would start having a discussion about maybe adding it to this toolkit. Maybe we can see what other people have to say about this new feature request?
Steve Graddy
Beta Was this translation helpful? Give feedback.
All reactions