Share via


View.AddOnLayoutChangeListener(View+IOnLayoutChangeListener) Method

Definition

Add a listener that will be called when the bounds of the view change due to layout processing.

[Android.Runtime.Register("addOnLayoutChangeListener", "(Landroid/view/View$OnLayoutChangeListener;)V", "GetAddOnLayoutChangeListener_Landroid_view_View_OnLayoutChangeListener_Handler")]
public virtual void AddOnLayoutChangeListener (Android.Views.View.IOnLayoutChangeListener? listener);
[<Android.Runtime.Register("addOnLayoutChangeListener", "(Landroid/view/View$OnLayoutChangeListener;)V", "GetAddOnLayoutChangeListener_Landroid_view_View_OnLayoutChangeListener_Handler")>]
abstract member AddOnLayoutChangeListener : Android.Views.View.IOnLayoutChangeListener -> unit
override this.AddOnLayoutChangeListener : Android.Views.View.IOnLayoutChangeListener -> unit

Parameters

listener
View.IOnLayoutChangeListener

The listener that will be called when layout bounds change.

Attributes

Remarks

Java documentation for android.view.View.addOnLayoutChangeListener(android.view.OnLayoutChangeListener).

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