Beispiel #1
0
        public override void Show()
        {
            ListViewCategory.SetAdapter(ComponentAdapterRecyclerFactory.CreateAdapter((inflater, parent) =>
                                                                                      new ServicesFeedbackListCellViewHolder(inflater,
                                                                                                                             parent,
                                                                                                                             (ModelView as FeedbackWindowViewModel).CellModel2)));

            ListViewEmoji.SetAdapter(ComponentAdapterRecyclerFactory.CreateAdapter((inflater, parent) =>
                                                                                   new EmojiFeedbackListCellViewHolder(inflater,
                                                                                                                       parent, (ModelView as FeedbackWindowViewModel).CellModel1)));
            base.Show();
        }
        private void ListaCategoriasSelecionado(object sender, ItemTappedEventArgs e)
        {
            ListViewCategory category = (ListViewCategory)e.Item;

            Navigation.PushAsync(new JokeContent(category));
        }