IScrollFeedbackProvider.OnSnapToItem(Int32, Int32, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Call this when the view has snapped to an item.
[Android.Runtime.Register("onSnapToItem", "(III)V", "GetOnSnapToItem_IIIHandler:Android.Views.IScrollFeedbackProviderInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=35)]
public void OnSnapToItem (int inputDeviceId, int source, int axis);
[<Android.Runtime.Register("onSnapToItem", "(III)V", "GetOnSnapToItem_IIIHandler:Android.Views.IScrollFeedbackProviderInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=35)>]
abstract member OnSnapToItem : int * int * int -> unit
Parameters
- inputDeviceId
- Int32
the ID of the InputDevice
that generated the motion triggering
the snap.
- source
- Int32
the input source of the motion causing the snap.
- axis
- Int32
the axis of event
that caused the item to snap.
- Attributes
Remarks
Call this when the view has snapped to an item.
Java documentation for android.view.ScrollFeedbackProvider.onSnapToItem(int, int, int)
.
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.