Most visited

Recently visited

Added in API level 1

View.OnLongClickListener

public static interface View.OnLongClickListener

android.view.View.OnLongClickListener
Known Indirect Subclasses


当单击并保存视图时调用回调的接口定义。

Summary

Public methods

abstract boolean onLongClick(View v)

当点击并保存视图时调用。

Public methods

onLongClick

Added in API level 1
boolean onLongClick (View v)

当点击并保存视图时调用。

Parameters
v View: The view that was clicked and held.
Returns
boolean true if the callback consumed the long click, false otherwise.

Hooray!