difference between view exit and view destroy

130 阅读1分钟

Created by Wang, Jerry, last modified on Nov 08, 2015

  • Control.prototype.destroy
  • _cleanupBusyIndicator();
  • sap.ui.core.ResizeHandler.deregisterAllForControl
  • this._busyIndicatorDelayedCallId
  • q.sap.clearDelayedCall
  • this._busyAnimationTimer1
  • clearTimeout(this._busyAnimationTimer1);
  • bSuppressInvalidate if true, the UI element is not marked for redraw
  • ManagedObject.prototype.destroy.call(this, bSuppressInvalidate);
  • this.$().remove(); // remove this control from DOM, e.g. if there is no parent
  • Inside view.destroy, it will call this.exit if this.exit exists.
  • in control.prototype.exit, this.oAfterRenderingNotifier.destroy();
  • in control.prototype.onControllerConnected, sap.ui.base.ManagedObject.runWithPreprocessors calls X.parseTemplate
  • In Core.js, Core.prototype.deregisterElement, delete this.mElements[oElement.getId()];
    clipboard1
    clipboard2
    clipboard3
    clipboard4
    clipboard5
    clipboard6
    clipboard7
    clipboard8
    clipboard9
    clipboard10
    clipboard11
    clipboard12