Udostępnij za pośrednictwem


SlidingDrawer.SetOnDrawerOpenListener Method

Definition

Caution

deprecated

Sets the listener that receives a notification when the drawer becomes open.

[Android.Runtime.Register("setOnDrawerOpenListener", "(Landroid/widget/SlidingDrawer$OnDrawerOpenListener;)V", "GetSetOnDrawerOpenListener_Landroid_widget_SlidingDrawer_OnDrawerOpenListener_Handler")]
[System.Obsolete("deprecated")]
public virtual void SetOnDrawerOpenListener (Android.Widget.SlidingDrawer.IOnDrawerOpenListener? onDrawerOpenListener);
[<Android.Runtime.Register("setOnDrawerOpenListener", "(Landroid/widget/SlidingDrawer$OnDrawerOpenListener;)V", "GetSetOnDrawerOpenListener_Landroid_widget_SlidingDrawer_OnDrawerOpenListener_Handler")>]
[<System.Obsolete("deprecated")>]
abstract member SetOnDrawerOpenListener : Android.Widget.SlidingDrawer.IOnDrawerOpenListener -> unit
override this.SetOnDrawerOpenListener : Android.Widget.SlidingDrawer.IOnDrawerOpenListener -> unit

Parameters

onDrawerOpenListener
SlidingDrawer.IOnDrawerOpenListener

The listener to be notified when the drawer is opened.

Attributes

Remarks

Java documentation for android.widget.SlidingDrawer.setOnDrawerOpenListener(android.widget.OnDrawerOpenListener).

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