public VideoCollectionViewModel(IVideoItemsProvider provider, INavigationService navigationService)
        {
            _navigationService = navigationService;

            provider.GetVideoItems()
            .ObserveOn(CoreDispatcherScheduler.Current)
            .Subscribe(x => Videos = new ObservableCollection <VideoItem>(x));
        }
Пример #2
0
 public VideoDetailsViewModel(IVideoItemsProvider videoItemsProvider)
 {
     _videoItemsProvider = videoItemsProvider;
 }