Skip to content

Instantly share code, notes, and snippets.

@tomwis

tomwis/Rx.cs Secret

Created Oct 8, 2017
Embed
What would you like to do?
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