Skip to content

Instantly share code, notes, and snippets.

@tomwis

tomwis/Rx.cs Secret

Created October 8, 2017 16:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tomwis/0a15835206b4c9e60c31528287a5ec90 to your computer and use it in GitHub Desktop.
Save tomwis/0a15835206b4c9e60c31528287a5ec90 to your computer and use it in GitHub Desktop.
Observable.FromEventPattern<TextChangedEventArgs>(searchEntry, nameof(Entry.TextChanged))
.Select(evt => GetMovies(evt.EventArgs.NewTextValue))
.Subscribe(results => searchResults.Text = string.Join(Environment.NewLine, results));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment