コード例 #1
0
        public void init(ContentView cv)
        {
            BasketContentView.Content = cv;

            TapColorChange(cv);

            // 상품권 탭을 선택할 경우 상품권 컨텐츠 뷰를 보여줌
            GiftSelectGrid.GestureRecognizers.Add(new TapGestureRecognizer()
            {
                Command = new Command(() =>
                {
                    bgv = new BasketGiftView(this);
                    BasketContentView.Content = bgv;

                    TapColorChange(bgv);
                })
            });
            // 쇼팡몰 탭을 선택할 경우 쇼팡몰 컨텐츠 뷰를 보여줌
            ShopSelectGrid.GestureRecognizers.Add(new TapGestureRecognizer()
            {
                Command = new Command(() =>
                {
                    App.Current.MainPage.DisplayAlert("알림", "준비 중입니다!", "확인");
                    return;

                    //


                    bsv = new BasketShopView(this);
                    BasketContentView.Content = bsv;

                    TapColorChange(bsv);
                })
            });
        }
コード例 #2
0
        private async void LoadingInitAsync()
        {
            // 로딩 시작
            await Global.LoadingStartAsync();

            bgv = new BasketGiftView(this);
            bsv = new BasketShopView(this);
            if (Global.isBasketDeal == true)
            {
                init(bgv);
            }
            else if (Global.isBasketShop == true)
            {
                init(bsv);
            }
            NavigationInit();
            // 로딩 완료
            await Global.LoadingEndAsync();
        }