xamarinxamarin.forms.net-mauixamarin-community-toolkitmaui-community-toolkit

AsyncCommand in .NET MAUI


I can't seem to find AsyncCommand in .NET MAUI or .NET MAUI Community Toolkit. Any idea what package/namespace I can find it?


Solution

  • install CommunityToolkitMVVM 8.0.0

    [RelayCommand]
    async Task your_method (){...}