lightbulb_outline Help shape the future of the Google Play Console, Android Studio, and Firebase. Start survey

belongs to Maven artifact androidx.recyclerview:recyclerview-selection:1.0.0-alpha3

OnContextClickListener

public interface OnContextClickListener

androidx.recyclerview.selection.OnContextClickListener


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

Summary

Public methods

abstract boolean onContextClick(MotionEvent e)

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

Public methods

onContextClick

public abstract boolean onContextClick (MotionEvent e)

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

Parameters
e MotionEvent: the event associated with the click.

Returns
boolean true if the event was handled.