Exemplo n.º 1
0
        async void OnPickerSelectedItem(object sender, EventArgs e)
        {
            BooksIncrementalView booksListIncrementalView = null;

            string selectedCategory = listPicker.Items[listPicker.SelectedIndex];
            string listName         = BooksManager.GetListNameByCategory(selectedCategory);

            booksListIncrementalView = new BooksIncrementalView(listName);

            BindingContext = booksListIncrementalView;

            booksListIncrementalView.LoadMoreItemsCommand.Execute(null);
        }