Partager via


ViewTreeObserver.RemoveOnGlobalLayoutListener Method

Definition

Remove a previously installed global layout callback

[Android.Runtime.Register("removeOnGlobalLayoutListener", "(Landroid/view/ViewTreeObserver$OnGlobalLayoutListener;)V", "")]
public void RemoveOnGlobalLayoutListener (Android.Views.ViewTreeObserver.IOnGlobalLayoutListener? victim);
[<Android.Runtime.Register("removeOnGlobalLayoutListener", "(Landroid/view/ViewTreeObserver$OnGlobalLayoutListener;)V", "")>]
member this.RemoveOnGlobalLayoutListener : Android.Views.ViewTreeObserver.IOnGlobalLayoutListener -> unit

Parameters

victim
ViewTreeObserver.IOnGlobalLayoutListener

The callback to remove

Attributes

Exceptions

If IsAlive returns false

Remarks

Java documentation for android.view.ViewTreeObserver.removeOnGlobalLayoutListener(android.view.OnGlobalLayoutListener).

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

See also

  • <xref:Android.Views.ViewTreeObserver.AddOnGlobalLayoutListener(.IOnGlobalLayoutListener)>