May 2019
Intermediate to advanced
504 pages
11h 50m
English
In the previous example, the responsibility of choosing between the remote data and the local data fell onto the view model. If we could actually notify the view-model about the changing result (that is, local and remote data), we would need to pass the local repository instance to the view-model. By using reactive extensions, we could implement a notifying observable and subscribe to various events on the view-model:
Before we can implement the view-model subscriptions, let's implement the GetAuction method in a reactive manner:
public IObservable<Auction> ...Read now
Unlock full access