示例#1
0
        protected override void InitViews()
        {
            base.InitViews();

            ListView?.SetAdapter(ComponentAdapterRecyclerFactory.CreateAdapter((inflater, parent) =>
                                                                               new HomeItemCellViewHolder(inflater,
                                                                                                          parent,
                                                                                                          ModelView.CellModel)));
        }
示例#2
0
        protected override void InitViews()
        {
            base.InitViews();

            ListView?.SetAdapter(ComponentAdapterRecyclerFactory.CreateAdapter((inflater, parent) =>
                                                                               new OrderTableItemCellViewHolder(inflater,
                                                                                                                parent,
                                                                                                                ModelView.CellModel)));

            ModelView.GetPayment -= ModelView_GetPayment;
            ModelView.GetPayment += ModelView_GetPayment;
        }
示例#3
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();
        }
示例#4
0
        protected override void InitViews()
        {
            base.InitViews();

            ListView?.SetAdapter(ComponentAdapterRecyclerFactory.CreateAdapter((inflater, parent) =>
                                                                               new EventsListTagCellViewHolder(inflater,
                                                                                                               parent,
                                                                                                               ModelView.CellModel1)));
            ListSubTagView?.SetAdapter(ComponentAdapterRecyclerFactory.CreateAdapter((inflater, parent) =>
                                                                                     new EventsListSubTagCellViewHolder(inflater,
                                                                                                                        parent,
                                                                                                                        ModelView.CellModel2)));
            ListEventNameView?.SetAdapter(ComponentAdapterRecyclerFactory.CreateAdapter((inflater, parent) =>
                                                                                        new EventNameCellViewHolder(inflater,
                                                                                                                    parent,
                                                                                                                    ModelView.CellModel3)));
        }
        protected override void InitViews()
        {
            base.InitViews();

            SideMenuListView.VerticalScrollBarEnabled = false;

            if (ModelView.TypeMenu == ProjectNavigationBaseViewModel.HeaderAreaActionType.Back)
            {
                Drawer?.SetDrawerLockMode(DrawerLayout.LockModeLockedClosed);
            }
            Drawer?.SetScrimColor(Color.Transparent);

            SideMenuListView?.SetAdapter(ComponentAdapterRecyclerFactory.CreateAdapter((inflater, parent) =>
                                                                                       new MenuCellViewHolder(inflater,
                                                                                                              parent,
                                                                                                              ModelView.MenuCell)));
        }