private boolean notifyOnFinish ( final int index ) { boolean result = true ; for ( WizardListener listener : wizardListeners ) { result &= listener . onFinish ( index , viewPagerAdapter . getItem ( index ) ) ; } return result ; }
Notifies all listeners when the last fragment is about to be finished .