public MovieItemProvider(FilePageViewModel cvm) : this(cvm.CurrentVideoFolder.ChildrenSize, 1000) { CVM = cvm; BGW = new BackgroundWorker(); BGW.DoWork += BGW_DoWork; BGW.ProgressChanged += BGW_ProgressChanged; BGW.RunWorkerCompleted += BGW_RunWorkerCompleted; BGW.WorkerSupportsCancellation = true; BGW.WorkerReportsProgress = true; }
public FilePage() { InitializeComponent(); BindingContext = _viewModel = new FilePageViewModel(this); }