Google은 흑인 공동체를 위한 인종 간 평등을 진전시키기 위해 노력하고 있습니다. Google에서 어떤 노력을 하고 있는지 확인하세요.

OnContextClickListener

interface OnContextClickListener
androidx.recyclerview.selection.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

abstract fun onContextClick(@NonNull e: MotionEvent): Boolean

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

Parameters
e MotionEvent: the event associated with the click.
Return
Boolean true if the event was handled.