Search This Blog

Sunday, 13 February 2022

Could Not Connect to debugger error in Xamarin Android Project.

If you are getting error like could not connect to debugger and your application close. Then apply following changes to fix the issue.

Enable: Use Fast Deployment (debug only option) from your android project properties.

Xamairn.Android Project Properties



Tuesday, 8 February 2022

How To Define Xamarin Form Command Using Lambda Expression

Creating Command Without Command Parameter

public ICommand SignInCommand => new Command(async () =>
{
  // write logic to perform
});

Creating Command With Command Parameter

public ICommand SignInCommand => new Command<object>(async (item) =>
{
    if (item != null)
    {
      // write logic to perform
    }
});


Popular Posts