/// <summary> /// Called when touch enters map /// </summary> /// <param name="touchPoints">List of all touched points</param> private bool OnTouchEntered(List <Geometries.Point> touchPoints) { // Sanity check if (touchPoints.Count == 0) { return(false); } var args = new TouchedEventArgs(touchPoints); TouchEntered?.Invoke(this, args); return(args.Handled); }
/// <summary> /// Called when touch enters map /// </summary> /// <param name="touchPoints">List of all touched points</param> private bool OnTouchEntered(List <Geometries.Point> touchPoints) { // Sanity check if (touchPoints.Count == 0) { return(false); } var args = new TouchedEventArgs(touchPoints); TouchEntered?.Invoke(this, args); if (args.Handled) { return(true); } // We have an interaction with the screen, so stop all animations Navigator.StopRunningAnimation(); return(true); }
public virtual void OnTouchEntered() { TouchEntered.Invoke(this); }
public virtual void OnTouchEntered() { IsTouchInside = true; TouchEntered.Invoke(this); }