예제 #1
0
        protected override void OnSwiped(MR.Gestures.SwipeEventArgs e)
        {
            base.OnSwiped(e);

            if (e.Direction == MR.Gestures.Direction.Right)
            {
                Finger1 = offScreen;
                Finger2 = offScreen;
                Center  = offScreen;
            }
        }
예제 #2
0
 protected override void OnSwiped(MR.Gestures.SwipeEventArgs e)
 {
     base.OnSwiped(e);
     //ShoppingList mainInfo = new ShoppingList();
     Debug.WriteLine("direction---" + e.Direction);
     Debug.WriteLine("direction---" + e.Center);
     if (e.Direction == MR.Gestures.Direction.Right)
     {
         // mainInfo.addCoupon(this);
         Debug.WriteLine("right");
     }
     else if (e.Direction == MR.Gestures.Direction.Left)
     {
         Debug.WriteLine("left");
         //mainInfo.deleteCoupon(this);
     }
 }
예제 #3
0
 void Cell_Swiped(object sender, MR.Gestures.SwipeEventArgs e)
 {
     ((TextOnlyViewModel)BindingContext).AddText("Cell_Swiped method called, swiped " + e.Direction);
 }
 void Cell_Swiped(object sender, MR.Gestures.SwipeEventArgs e)
 {
     ((TextOnlyViewModel)BindingContext).AddText("ImageCellXaml.Cell_Swiped method called on cell '" + ((ImageCell)sender).Text + "', swiped " + e.Direction);
 }
 void Red_Swiped(object sender, MR.Gestures.SwipeEventArgs e)
 {
     AddText("BoxViewXaml.Red_Swiped method called, swiped " + e.Direction);
 }