public Anasayfa() { InitializeComponent(); List <string> FırsatÜrünleriImages = new List <string>() { "https://cdn.vatanbilgisayar.com/Upload/BANNER//yeni-tasarim/anasayfa/2020_nisan/ensuper-mob-min.jpg", "https://cdn.vatanbilgisayar.com/Upload/BANNER//yeni-tasarim/anasayfa/2020_mayis/philips-tv-kamp-7-mayis-mob-min.jpg", "https://cdn.vatanbilgisayar.com/Upload/BANNER//yeni-tasarim/anasayfa/2020_mayis/fiba-mob-3-min.jpg", "https://cdn.vatanbilgisayar.com/Upload/BANNER//yeni-tasarim/anasayfa/2020_mayis/super-fiyat-xr-acer-12-mayis-mob-min.jpg", "https://cdn.vatanbilgisayar.com/Upload/BANNER//yeni-tasarim/anasayfa/2020_mayis/super-fiyat-airpods-11-mayis-mob-min.jpg", "https://cdn.vatanbilgisayar.com/Upload/BANNER//yeni-tasarim/anasayfa/2020_mayis/super-fiyatlar-kea-12-mayis-mob-min.jpg", "https://cdn.vatanbilgisayar.com/Upload/BANNER//yeni-tasarim/anasayfa/2020_mayis/uclu-ffirin-kea-mob-12-mayis-min.jpg", "https://cdn.vatanbilgisayar.com/Upload/BANNER//yeni-tasarim/anasayfa/2020_mayis/yazici-banner-12-mayis-mob-min.jpg", "https://cdn.vatanbilgisayar.com/Upload/BANNER//yeni-tasarim/anasayfa/2020_mayis/lenovo-mob-12-mayis-min.jpg", "https://cdn.vatanbilgisayar.com/Upload/BANNER//yeni-tasarim/anasayfa/ACER_nitro5_Vatan_700x380-mobbb.jpg", "https://cdn.vatanbilgisayar.com/Upload/BANNER//yeni-tasarim/anasayfa/2020_mayis/oppo-reno3-banner-mob-min.jpg", "https://cdn.vatanbilgisayar.com/Upload/BANNER//yeni-tasarim/anasayfa/2020_nisan/sss-mob-min.jpg" }; Ürünler = new ÜrünModel(this); FırsatÜrünleriCarousel.ItemsSource = FırsatÜrünleriImages; ÖneÇıkanÜrünlerFLV.FlowItemsSource = Ürünler.GetItems(10); BindableLayout.SetItemsSource(EnÇokSatanlarSB, Ürünler.GetItems(15)); FırsatÜrünleriCarousel.ItemsSource = FırsatÜrünleriImages; Device.StartTimer(TimeSpan.FromSeconds(1), () => { Device.BeginInvokeOnMainThread(() => DependencyService.Get <IToolbarItemBadgeService>().SetBadge(this, ToolbarItems.First(), $"{SepetIslemleri.GetSepetCounts()}", Color.Red, Color.White) ); return(true); // True = Repeat again, False = Stop the timer }); //ÖneÇıkanÜrünlerFLV.HeightRequest = Convert.ToDouble(ürünButonuModeli.Items.Count / ÖneÇıkanÜrünlerFLV.FlowColumnCount * 250); }
public NotebookPage() { InitializeComponent(); Ürünler = new ÜrünModel(this); ProductFilter = new ProductFilter(Ürünler, this); ÖneÇıkanÜrünlerFLV.FlowItemsSource = Ürünler.GetAllItemsNonCallApi(); AdetLabel.Text = ÖneÇıkanÜrünlerFLV.FlowItemsSource.Count.ToString(); List <RadioButtonsModel> radioButtonsModels = new List <RadioButtonsModel>() { new RadioButtonsModel() { Property = ERadioButtonProperty.Azalan, TextString = "Azalan Fiyata Göre Sırala" }, new RadioButtonsModel() { Property = ERadioButtonProperty.Artan, TextString = "Artan Fiyata Göre Sırala" } }; Azalan.BindingContext = radioButtonsModels[0]; Artan.BindingContext = radioButtonsModels[1]; Marka = EMarka.TÜMÜ; List <string> MarkaNames = Enum.GetNames(typeof(EMarka)).ToList(); foreach (var item in MarkaNames) { picker.Items.Add(item); } picker.SelectedIndex = (int)EMarka.TÜMÜ - 1; picker.ItemsSource = Enum.GetNames(typeof(EMarka)).ToList(); }
public Siparislerim() { InitializeComponent(); ÜrünModel = new ÜrünModel(this); RestAPIForAccounts restAPIForAccounts = new RestAPIForAccounts(); SiparislerFLV.ItemsSource = restAPIForAccounts.GetSiparisler(Settings.Email); }
public Anasayfa() { InitializeComponent(); List <string> CarouselItems = new List <string>() { "https://www.bedayz.com/Uploads/Slider/quarantine-30.jpg?t=20200516182750", "https://www.bedayz.com/Uploads/Slider/bandana-29.jpg?t=20200427155138", "https://www.bedayz.com/Uploads/Slider/hope-28.jpg?t=20200421183821", "https://www.bedayz.com/Uploads/Slider/munchies-sweat-24.jpg?t=20200302184902", "https://www.bedayz.com/Uploads/Slider/key-chains-23.jpg?t=20200120215546", "https://www.bedayz.com/Uploads/Slider/savage-21.jpg?t=20200302185000" }; FırsatÜrünleriCarousel.ItemsSource = CarouselItems; ÜrünModel = new ÜrünModel(this); //BindingContext = ÜrünModel; ÖneÇıkanÜrünlerFLV.FlowItemsSource = new ÜrünModel(this).GetItems(2); FırsatÜrünleriCarousel.ItemsSource = CarouselItems; }
public Anasayfa() { InitializeComponent(); List <string> CarouselItems = new List <string>() { "https://migros-dali-storage-prod.global.ssl.fastly.net/tazedirekt/banner/main_page_slider/10438/12472-banner_yumurta-7a21a3.jpg", "https://migros-dali-storage-prod.global.ssl.fastly.net/tazedirekt/banner/main_page_slider/10526/12560-pizza-fd4262.jpg", "https://migros-dali-storage-prod.global.ssl.fastly.net/tazedirekt/banner/main_page_slider/10460/12494-mayis_banner_temizlik-d71ec1.jpg", "https://migros-dali-storage-prod.global.ssl.fastly.net/tazedirekt/banner/main_page_slider/10430/12464-mayis_banner_zinde_kal-cc765b.jpg", "https://migros-dali-storage-prod.global.ssl.fastly.net/tazedirekt/banner/main_page_slider/10475/12509-mayis_banner_yogurt-c65470.jpg", "https://migros-dali-storage-prod.global.ssl.fastly.net/tazedirekt/banner/main_page_slider/10298/12332-nisan_banner_ramazan-529d03.jpg", "https://migros-dali-storage-prod.global.ssl.fastly.net/tazedirekt/banner/main_page_slider/10405/12439-mayis_banner_emsal-be5d2c.jpg", "https://migros-dali-storage-prod.global.ssl.fastly.net/tazedirekt/banner/main_page_slider/9866/11900-korona_1-87f65e.jpg" }; FirsatÜrünleriCarousel.ItemsSource = CarouselItems; ÜrünModel = new ÜrünModel(this); BindingContext = ÜrünModel; }
public ProductFilter(ÜrünModel ürünModel, Page page) { ÜrünModel = new ÜrünModel(page); ResetList(); Markalar = Enum.GetValues(typeof(EMarka)).Cast <EMarka>().ToList(); }
public AramaSayfası() { InitializeComponent(); ürünler = new ÜrünModel(this); ÜrünList.FlowItemsSource = ürünler.GetItems(20); }