title: Xamarin - Deselect Listview Item does not work properly in iOS
body: <p>I have a listview and I want an Item to deselect if I tap it again. So basically I tap an Item it gets selected I tap it again it gets deselected.
  My Code is working just fine on Android. It also works on iOS the only thing that doesn't work is if I tap an Item its background color changes but if I deselect it its background color should change back. That happens on Android but not on iOS. Any ideas why "mylistview.selecteditem = null" works properly on Android but not on iOS?</p>
  
  <pre><code>public void AnwesenheitTapped(object sender, ItemTappedEventArgs args)
  {
      if (args.Item as Anwesenheit != Anwesenheit)
      {
          Anwesenheit = args.Item as Anwesenheit;
          ViewModel.Anwesenheit = args.Item as Anwesenheit;
          if (Anwesenheit == null)
          {
              return;
          }
          ViewModel.AlsAbwesendEintragenButton = true;
          ViewModel.Datum = Anwesenheit.Datum;
          AnwesenheitenDatum.IsEnabled = false;
          if (Anwesenheit.Anmeldungsart == "Früh")
          {
              Anmeldungsart.SelectedIndex = 0;
          }
          else if (Anwesenheit.Anmeldungsart == "Mittags")
          {
              Anmeldungsart.SelectedIndex = 1;
          }
          else
          {
              Anmeldungsart.SelectedIndex = 2;
          }
          AnwesenheitenLabel.Text = "Anwesenheit bearbeiten:";
          AnwesenheitenButton.Text = "Anwesenheit bearbeiten";
          ViewModel.Edit = true;
      }
      else
      {
          Anwesenheit = null;
          ViewModel.Datum = DateTime.Today;
          AnwesenheitenDatum.IsEnabled = true;                
          ViewModel.AlsAbwesendEintragenButton = false;
          Anmeldungsart.SelectedIndex = 0;
          ViewModel.Edit = false;
          AnwesenheitenLabel.Text = "Neue Anwesenheit:";
          AnwesenheitenButton.Text = "Neue Anwesenheit hinzufügen";
          BetreuungsoptionenListView.SelectedItem = null;
      }
  }
  </code></pre>