OnContextClickListener


public interface OnContextClickListener


Register an OnContextClickListener to be notified when a context click occurs.

Summary

Public methods

abstract boolean

Called when user performs a context click, usually via mouse pointer right-click.

Public methods

onContextClick

Added in 1.0.0
abstract boolean onContextClick(@NonNull MotionEvent e)

Called when user performs a context click, usually via mouse pointer right-click.

Parameters
@NonNull MotionEvent e

the event associated with the click.

Returns
boolean

true if the event was handled.