private void Search(string searchQuery) { AlbumLists.Clear(); foreach (var item in AllAlbumLists) { if (item.AlbumListName.ToLower().Contains(searchQuery.ToLower())) { AlbumLists.Add(item); } } }
private async Task AddNewAlbumList() { var popUp = new PopupAddOnTheFlyList(true); popUp.CallbackEvent += async(object sender, object e) => { AllAlbumLists.Clear(); AlbumLists.Clear(); await Init(); }; await PopupNavigation.Instance.PushAsync(popUp); }