Added in API level 23

View.OnContextClickListener


public static interface View.OnContextClickListener

android.view.View.OnContextClickListener


Interface definition for a callback to be invoked when a view is context clicked.

Summary

Public methods

abstract boolean onContextClick(View v)

Called when a view is context clicked.

Public methods

onContextClick

Added in API level 23
public abstract boolean onContextClick (View v)

Called when a view is context clicked.

Parameters
v View: The view that has been context clicked.

Returns
boolean true if the callback consumed the context click, false otherwise.