Beispiel #1
0
 private void SearchBar_TextChanged(object sender, TextChangedEventArgs e)
 {
     if (e.NewTextValue.Length > 2)
     {
         lstMC.BindingContext = MContent.BindingWithGrouping(e.NewTextValue);
     }
     else if (string.IsNullOrEmpty(e.NewTextValue))
     {
         lstMC.BindingContext = MContent.BindingWithGrouping();
     }
 }
Beispiel #2
0
        public SanalSiniflar()
        {
            InitializeComponent();
            lstMC.BindingContext = MContent.BindingWithGrouping();

            lstMC.GestureRecognizers.Add(new TapGestureRecognizer
            {
                Command = new Command(async(t) =>
                {
                    await lstMC.ScaleTo(0.95, 100, Easing.CubicOut);
                    await lstMC.ScaleTo(1, 50, Easing.CubicIn);
                    await lstMC.RotateYTo(360, 1500, Easing.SpringIn);
                })
            }); //sağa, sola kaydırma, dokunma işlemleri icin
        }
Beispiel #3
0
 private void lstMC_Refreshing(object sender, System.EventArgs e)
 {
     MContent.RefreshCount++;
     lstMC.BindingContext = MContent.BindingWithGrouping();
     lstMC.IsRefreshing   = false;
 }