whole_func_string: function _updateView(event) {
          var index = this.tabBar.getSelectedItemIndex();
          this.animationController.halt();
          if (index >= 0) {
              this.animationController.show(this._items[index].view);
          }
          else {
              this.animationController.hide();
          }
      }
func_code_string: function _updateView(event) {
          var index = this.tabBar.getSelectedItemIndex();
          this.animationController.halt();
          if (index >= 0) {
              this.animationController.show(this._items[index].view);
          }
          else {
              this.animationController.hide();
          }
      }
func_documentation_string: Updates the view-container with the selected view.