protected override void OnSwiped(MR.Gestures.SwipeEventArgs e) { base.OnSwiped(e); if (e.Direction == MR.Gestures.Direction.Right) { Finger1 = offScreen; Finger2 = offScreen; Center = offScreen; } }
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); } }
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); }