共用方式為


BaseMovementMethod.End(TextView, ISpannable) Method

Definition

Performs an end movement action.

[Android.Runtime.Register("end", "(Landroid/widget/TextView;Landroid/text/Spannable;)Z", "GetEnd_Landroid_widget_TextView_Landroid_text_Spannable_Handler")]
protected virtual bool End (Android.Widget.TextView? widget, Android.Text.ISpannable? buffer);
[<Android.Runtime.Register("end", "(Landroid/widget/TextView;Landroid/text/Spannable;)Z", "GetEnd_Landroid_widget_TextView_Landroid_text_Spannable_Handler")>]
abstract member End : Android.Widget.TextView * Android.Text.ISpannable -> bool
override this.End : Android.Widget.TextView * Android.Text.ISpannable -> bool

Parameters

widget
TextView

The text view.

buffer
ISpannable

The text buffer.

Returns

True if the event was handled.

Attributes

Remarks

Performs an end movement action. Moves the cursor or scrolls to the start of the line or to the top of the document depending on whether the insertion point is being moved or the document is being scrolled.

Java documentation for android.text.method.BaseMovementMethod.end(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