public AnimatorSetBuilder duration(final int duration){
  this.duration=duration / paths.size();
  return this;
}

public AnimatorSetBuilder duration ( final int duration ) { this . duration = duration / paths . size ( ) ; return this ; }
sets the duration of the animation . since the animatorset sets the duration for each animator , we have to divide it by the number of paths .
