O'Reilly logo

Programming Reactive Extensions and LINQ by Paul Betts, Jesse Liberty

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Example: Searching Asynchronously for Images with ReactiveUI

In this section, we'll create an application that searches the public Flickr database of images. The user will enter a term and when the user stops typing, we'll search for images that match the requested topics, as shown in Figure 8-1. This will exercise the ReactiveUI library and illustrate real-world usage of many of the techniques we've described.

images

Figure 8-1. The completed project: searching Flickr

Design the App for MVVM

A key goal of the ReactiveUI library is to facilitate creating programs using the MVVM pattern. This program will create the following two classes:

  • MainWindow ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required