共用方式為


BaseMovementMethod.Home(TextView, ISpannable) Method

Definition

Performs a home movement action.

[Android.Runtime.Register("home", "(Landroid/widget/TextView;Landroid/text/Spannable;)Z", "GetHome_Landroid_widget_TextView_Landroid_text_Spannable_Handler")]
protected virtual bool Home (Android.Widget.TextView? widget, Android.Text.ISpannable? buffer);
[<Android.Runtime.Register("home", "(Landroid/widget/TextView;Landroid/text/Spannable;)Z", "GetHome_Landroid_widget_TextView_Landroid_text_Spannable_Handler")>]
abstract member Home : Android.Widget.TextView * Android.Text.ISpannable -> bool
override this.Home : 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 a home 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.home(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