public void triggerWayPointReach(int wayPointIndex, MotionEvent control) { if (listeners != null) { for (Iterator<MotionPathListener> it = listeners.iterator(); it.hasNext();) { MotionPathListener listener = it.next(); listener.onWayPointReach(control, wayPointIndex); } } }
public void triggerWayPointReach(int wayPointIndex, MotionEvent control) { if (listeners != null) { for (Iterator<MotionPathListener> it = listeners.iterator(); it.hasNext();) { MotionPathListener listener = it.next(); listener.onWayPointReach(control, wayPointIndex); } } }