void OnClick(AdapterClickEventArgs args) { if (IsMultiSelect) { Items[args.Position].IsSelected = !Items[args.Position].IsSelected; NotifyItemChanged(args.Position); } else { for (int i = 0; i < OriginalValues.Count; i++) { OriginalValues[i].IsSelected = false; } Items[args.Position].IsSelected = true; BaseSpinnerSearch.Dialog.Dismiss(); Spinner.OnCancel(BaseSpinnerSearch.Dialog); } }