public SearchPageViewModel(Func <IDataSource> getDataSource, IConnectionListener connectionListener) : base(getDataSource, connectionListener, null) { _searchVideoViewModel = new SearchVideoViewModel(getDataSource, connectionListener, ChangeProgressIndicator, this); _searchChannelsViewModel = new SearchChannelsViewModel(getDataSource, connectionListener, ChangeProgressIndicator); _searchPlaylistsViewModel = new SearchPlaylistsViewModel(getDataSource, connectionListener, ChangeProgressIndicator); _searchSettingCommand = new RelayCommand(SearchSettings); CreateFilters(); }
public SearchPlaylistsPage() { InitializeComponent(); BindingContext = model = new SearchPlaylistsViewModel(); }