Udostępnij za pośrednictwem


IWindowManager.RemoveViewImmediate(View) Method

Definition

Special variation of #removeView that immediately invokes the given view hierarchy's View#onDetachedFromWindow() View.onDetachedFromWindow() methods before returning.

[Android.Runtime.Register("removeViewImmediate", "(Landroid/view/View;)V", "GetRemoveViewImmediate_Landroid_view_View_Handler:Android.Views.IWindowManagerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void RemoveViewImmediate (Android.Views.View? view);
[<Android.Runtime.Register("removeViewImmediate", "(Landroid/view/View;)V", "GetRemoveViewImmediate_Landroid_view_View_Handler:Android.Views.IWindowManagerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member RemoveViewImmediate : Android.Views.View -> unit

Parameters

view
View

The view to be removed.

Attributes

Remarks

Special variation of #removeView that immediately invokes the given view hierarchy's View#onDetachedFromWindow() View.onDetachedFromWindow() methods before returning. This is not for normal applications; using it correctly requires great care.

Java documentation for android.view.WindowManager.removeViewImmediate(android.view.View).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to