Condividi tramite


SlidingDrawer.SetOnDrawerScrollListener Method

Definition

Caution

deprecated

Sets the listener that receives a notification when the drawer starts or ends a scroll.

[Android.Runtime.Register("setOnDrawerScrollListener", "(Landroid/widget/SlidingDrawer$OnDrawerScrollListener;)V", "GetSetOnDrawerScrollListener_Landroid_widget_SlidingDrawer_OnDrawerScrollListener_Handler")]
[System.Obsolete("deprecated")]
public virtual void SetOnDrawerScrollListener (Android.Widget.SlidingDrawer.IOnDrawerScrollListener? onDrawerScrollListener);
[<Android.Runtime.Register("setOnDrawerScrollListener", "(Landroid/widget/SlidingDrawer$OnDrawerScrollListener;)V", "GetSetOnDrawerScrollListener_Landroid_widget_SlidingDrawer_OnDrawerScrollListener_Handler")>]
[<System.Obsolete("deprecated")>]
abstract member SetOnDrawerScrollListener : Android.Widget.SlidingDrawer.IOnDrawerScrollListener -> unit
override this.SetOnDrawerScrollListener : Android.Widget.SlidingDrawer.IOnDrawerScrollListener -> unit

Parameters

onDrawerScrollListener
SlidingDrawer.IOnDrawerScrollListener

The listener to be notified when scrolling starts or stops.

Attributes

Remarks

Java documentation for android.widget.SlidingDrawer.setOnDrawerScrollListener(android.widget.OnDrawerScrollListener).

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