Save the date! Android Dev Summit is coming to Mountain View, CA on November 7-8, 2018.
added in version 1.0.0
belongs to Maven artifact androidx.recyclerview:recyclerview-selection:1.0.0-rc01

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

added in version 1.0.0
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.