Cant figure out how to get rid of the warning, any help appreciated.
ICommand refreshCommand;
public ICommand RefreshCommand
{
get { return refreshCommand ?? (refreshCommand = new Command(async () => await ExecuteRefreshCommand())); }
}
public async Task ExecuteRefreshCommand()
{
if (IsBusy)
return;
IsBusy = true;
// Refresh to this web page
webView.Source = "https://www.google.com";
webView.Navigated += (s, e) =>
{
IsBusy = false;
};
}
↧
This async method lacks 'await' operators and will run asynchronously
↧