Language

Touch.GetInitialScrollY(TextView, ISpannable) Method

Definition

Gets the vertical scroll position recorded when the touch began.

[Android.Runtime.Register("getInitialScrollY", "(Landroid/widget/TextView;Landroid/text/Spannable;)I", "")]
public static int GetInitialScrollY(Android.Widget.TextView? widget, Android.Text.ISpannable? buffer);
[<Android.Runtime.Register("getInitialScrollY", "(Landroid/widget/TextView;Landroid/text/Spannable;)I", "")>]
static member GetInitialScrollY : Android.Widget.TextView * Android.Text.ISpannable -> int

Parameters

widget
TextView

The text view.

buffer
ISpannable

The text buffer.

Returns

The recorded vertical position in pixels, or -1 if no drag state exists.

Attributes

Remarks

Java documentation for android.text.method.Touch.getInitialScrollY(android.widget.TextView, android.text.Spannable).

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