Partager via


IScrollFeedbackProvider.OnScrollLimit(Int32, Int32, Int32, Boolean) Method

Definition

Call this when the view has reached the scroll limit.

[Android.Runtime.Register("onScrollLimit", "(IIIZ)V", "GetOnScrollLimit_IIIZHandler:Android.Views.IScrollFeedbackProviderInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=35)]
public void OnScrollLimit (int inputDeviceId, int source, int axis, bool isStart);
[<Android.Runtime.Register("onScrollLimit", "(IIIZ)V", "GetOnScrollLimit_IIIZHandler:Android.Views.IScrollFeedbackProviderInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=35)>]
abstract member OnScrollLimit : int * int * int * bool -> unit

Parameters

inputDeviceId
Int32

the ID of the InputDevice that caused scrolling to hit limit.

source
Int32

the input source of the motion that caused scrolling to hit the limit.

axis
Int32

the axis of event that caused scrolling to hit the limit.

isStart
Boolean

true if scrolling hit limit at the start of the scrolling list, and false if the scrolling hit limit at the end of the scrolling list. start and end in this context are not geometrical references. Instead, they refer to the start and end of a scrolling experience. As such, "start" for some views may be at the bottom of a scrolling list, while it may be at the top of scrolling list for others.

Attributes

Remarks

Call this when the view has reached the scroll limit.

Note that a feedback may not be provided on every call to this method. This interface, for instance, may provide feedback on every `N`th scroll limit event. For the interface to properly provide feedback when needed, call this method for each scroll limit event that you want to be accounted to scroll limit feedback.

Java documentation for android.view.ScrollFeedbackProvider.onScrollLimit(int, int, int, boolean).

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