2013-07-27

Can you use Rx with the Geolocator class in a Windows Store app?

I've used it for my Windows Phone apps successfully, but I'm having trouble figuring out the arguments/types to pass in to Observable.FromEvent to set up the event subscription.

Virtually all of the FromEvent and FromEventPattern methods indicate that they're designed to work with 'standard' .NET event implementations.

The problem seems to be that the Windows Store event delegate is based on TypedEventHandler<>, rather than EventHandler<>

Alternatively, is there better way to use Rx with Geolocator besides FromEvent?

Show more