public LibraryPageItemViewModel(IMetadata data, ISourceManager sourceManager, ReaderViewModel.Factory readerFactory, Conductor <TabViewModelBase> .Collection.OneActive conductor) { this.data = data; this.readerFactory = readerFactory; this.conductor = conductor; sourceManager.ConsumeAsync(data.Cover, SetCover); }
public void Start() { if (isDisposed) { return; } if (progress != null) { return; } progress = sourceManager.ConsumeAsync(uri, ConsumeStream); }