Sdílet prostřednictvím


ViewStructure.SetLongClickable(Boolean) Method

Definition

Set the long clickable state of this view, as per View#isLongClickable View.isLongClickable().

[Android.Runtime.Register("setLongClickable", "(Z)V", "GetSetLongClickable_ZHandler", ApiSince=23)]
public abstract void SetLongClickable (bool state);
[<Android.Runtime.Register("setLongClickable", "(Z)V", "GetSetLongClickable_ZHandler", ApiSince=23)>]
abstract member SetLongClickable : bool -> unit

Parameters

state
Boolean
Attributes

Remarks

Set the long clickable state of this view, as per View#isLongClickable View.isLongClickable().

Java documentation for android.view.ViewStructure.setLongClickable(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