difference between view exit and view destroy

简介: 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()];

image.pngimage.png

image.png



相关文章
|
3月前
|
TensorFlow 算法框架/工具 Python
完美解决丨RuntimeError: create_session() called before __init__().
完美解决丨RuntimeError: create_session() called before __init__().
|
容器
Fragment的replace、add、hide、show的使用和详解
Fragment的replace、add、hide、show的使用和详解
|
Kotlin
【错误记录】布局组件加载错误 ( Attempt to invoke virtual method ‘xxx$Callback android.view.Window.getCallback()‘ )
【错误记录】布局组件加载错误 ( Attempt to invoke virtual method ‘xxx$Callback android.view.Window.getCallback()‘ )
280 0
|
Java
Could not find class 'android.support.v4.view.ViewPager', referenced from method***
Could not find class 'android.support.v4.view.ViewPager', referenced from method***
121 0
Could not find class 'android.support.v4.view.ViewPager', referenced from method***
|
JavaScript jenkins 持续交付
Solution for Lead OPA test error ( add button clicked after cancel button )
Solution for Lead OPA test error ( add button clicked after cancel button )
111 0
Solution for Lead OPA test error ( add button clicked after cancel button )
Busy Dialog init - hashchange will call BusyDialog.open - flower
Created by Wang, Jerry, last modified on Jun 29, 2015
91 0
Busy Dialog init - hashchange will call BusyDialog.open - flower
|
.NET 开发框架 存储
|
Android开发
Only the original thread that created a view hierarchy can touch its views.
/********************************************************************************** * Only the original thread that created a view hierarchy can touch its views. * 说明: * 自定义view的时候出现这个错误,是用错了方法。
1075 0