private void ViewModel_PropertyChanged(object sender, System.ComponentModel.PropertyChangedEventArgs e) { if (e.PropertyName == nameof(ILanguagesViewModel.SelectedLanguage)) { _searchController?.SearchBar?.EndEditing(true); _searchController?.DismissViewControllerAsync(true); _searchBar?.EndEditing(true); } }
private void OnTableViewScrollStarted(object sender, EventArgs e) { _searchController?.SearchBar?.EndEditing(true); _searchBar?.EndEditing(true); }