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



相关文章
|
15小时前
|
Android开发
Can t process attribute android:fillColor=@color/camera_progress_delete: references to other resou
Can t process attribute android:fillColor=@color/camera_progress_delete: references to other resou
12 1
|
容器
Fragment的replace、add、hide、show的使用和详解
Fragment的replace、add、hide、show的使用和详解
|
Java
Preference跳转activity出错Unable to find explicit activity class
使用Preference可以非常方便的实现类似设置页面这样的菜单布局,甚至可以不需写java代码。那么可以在Preference中直接添加页面跳转么?其实非常简单,在Preference添加intent标签即可
473 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***
123 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 )
113 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
93 0
Busy Dialog init - hashchange will call BusyDialog.open - flower
Can't create handler inside thread that has not called Looper.prepare()
版权声明:本文为博主原创文章,转载请标明出处。 https://blog.csdn.net/chaoyu168/article/details/52163029 最近做项目时出现个问题。
1179 0