app/src/main/java/com/stoneium/onepagesample/navigation/NavigationController.java
/***
     * Add a view to the controller.
     *
     * @param name The name of the view.
     * @param view The view to add.
     */
Add a view to the controller.
@param name The name of the view.
@param view The view to add.
Add a view to the controller . @param name The name of the view . @param view The view to add .
public void addView(String name, Object view) {
        if (_views.containsKey(name)) {
            _views.remove(name);
        }
        _views.put(name, view);
    }
public void addView ( String name , Object view ) { if ( _views . containsKey ( name ) ) { _views . remove ( name ) ; } _views . put ( name , view ) ; }
Add a view to the controller.
Add a view to the controller .