Udostępnij za pośrednictwem


View.SetOnApplyWindowInsetsListener(View+IOnApplyWindowInsetsListener) Method

Definition

Set an OnApplyWindowInsetsListener to take over the policy for applying window insets to this view.

[Android.Runtime.Register("setOnApplyWindowInsetsListener", "(Landroid/view/View$OnApplyWindowInsetsListener;)V", "GetSetOnApplyWindowInsetsListener_Landroid_view_View_OnApplyWindowInsetsListener_Handler")]
public virtual void SetOnApplyWindowInsetsListener (Android.Views.View.IOnApplyWindowInsetsListener? listener);
[<Android.Runtime.Register("setOnApplyWindowInsetsListener", "(Landroid/view/View$OnApplyWindowInsetsListener;)V", "GetSetOnApplyWindowInsetsListener_Landroid_view_View_OnApplyWindowInsetsListener_Handler")>]
abstract member SetOnApplyWindowInsetsListener : Android.Views.View.IOnApplyWindowInsetsListener -> unit
override this.SetOnApplyWindowInsetsListener : Android.Views.View.IOnApplyWindowInsetsListener -> unit

Parameters

listener
View.IOnApplyWindowInsetsListener

Listener to set

Attributes

Remarks

Java documentation for android.view.View.setOnApplyWindowInsetsListener(android.view.OnApplyWindowInsetsListener).

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