private async void OnTextChanged(object sender, EventArgs e) { try { message.IsVisible = false; list.IsVisible = false; activityIndicator.IsRunning = true; await _collectionView.SearchAsync(search.Text); list.IsVisible = true; } catch { message.Text = AppResources.InternetConnectionError; message.IsVisible = true; } finally { activityIndicator.IsRunning = false; } }
private async void OnTextChanged(object sender, Android.Text.TextChangedEventArgs e) { await _collectionView.SearchAsync(Search.Text); }
private async void OnSearchChanged(object sender, EventArgs e) { await _collectionView.SearchAsync(SearchField.StringValue); }
private async void OnSearchEditingChanged(object sender, EventArgs e) { await _collectionView.SearchAsync(SearchField.Text); }