public void registerController ( final Class < ? > mappedControllerClass , final ViewController controller ) { controllers . put ( mappedControllerClass , controller ) ; if ( Strings . isNotEmpty ( controller . getViewId ( ) ) ) { parser . getData ( ) . addActorConsumer ( SCREEN_TRANSITION_ACTION_PREFIX + controller . getViewId ( ) , new ScreenTransitionAction ( this , mappedControllerClass ) ) ; } }
Allows to manually register a managed controller . For internal use mostly .