/// <summary> /// Setups this instance. /// </summary> private void Setup() { if (_mediaPicker != null) { return; } var device = Resolver.Resolve <IDevice>(); ////RM: hack for working on windows phone? _mediaPicker = Resolver.Resolve <IMediaPicker>() ?? device.MediaPicker; }