Пример #1
0
 private void Search(string searchQuery)
 {
     AlbumLists.Clear();
     foreach (var item in AllAlbumLists)
     {
         if (item.AlbumListName.ToLower().Contains(searchQuery.ToLower()))
         {
             AlbumLists.Add(item);
         }
     }
 }
Пример #2
0
        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);
        }