Sdílet prostřednictvím


ViewTreeObserver.RemoveGlobalOnLayoutListener Method

Definition

Caution

deprecated

Remove a previously installed global layout callback

[Android.Runtime.Register("removeGlobalOnLayoutListener", "(Landroid/view/ViewTreeObserver$OnGlobalLayoutListener;)V", "")]
[System.Obsolete("deprecated")]
public void RemoveGlobalOnLayoutListener (Android.Views.ViewTreeObserver.IOnGlobalLayoutListener? victim);
[<Android.Runtime.Register("removeGlobalOnLayoutListener", "(Landroid/view/ViewTreeObserver$OnGlobalLayoutListener;)V", "")>]
[<System.Obsolete("deprecated")>]
member this.RemoveGlobalOnLayoutListener : 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.removeGlobalOnLayoutListener(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)>