question: private void callStateListeners ( ) { StateType newState = state . get ( ) ; ArrayList < ActivityStateListener > list = stateListeners . get ( newState ) ; if ( list != null ) { for ( ActivityStateListener listener : list ) { listener . stateChanged ( newState , this ) ; } } }
target:  Calls the listeners. This function is not called from this class because implementors need to decide when they are ready to report the state change to interested objects.