@Override public void onPathStarted(boolean fromBeginning){
  if (mySteps.size() == 0 || getVisibleStepCount() == 0) {
    return;
  }
  myCurrentStep=null;
  if (fromBeginning) {
    myCurrentStepIndex=-1;
    myCurrentStep=next();
  }
 else {
    myCurrentStepIndex=mySteps.size();
    myCurrentStep=previous();
  }
}

@ Override public void onPathStarted ( boolean fromBeginning ) { if ( mySteps . size ( ) == 0 || getVisibleStepCount ( ) == 0 ) { return ; } myCurrentStep = null ; if ( fromBeginning ) { myCurrentStepIndex = - 1 ; myCurrentStep = next ( ) ; } else { myCurrentStepIndex = mySteps . size ( ) ; myCurrentStep = previous ( ) ; } }
initialize the path , including setting the iterator to the correct location ( just before the beginning , or just after the end ) . any additional state setup should be done here .
