Most visited

Recently visited

Added in API level 1

View.OnClickListener

public static interface View.OnClickListener

android.view.View.OnClickListener
Known Indirect Subclasses


单击视图时要调用的回调的接口定义。

Summary

Public methods

abstract void onClick(View v)

当点击一个视图时调用。

Public methods

onClick

Added in API level 1
void onClick (View v)

当点击一个视图时调用。

Parameters
v View: The view that was clicked.

Hooray!