Added in API level 23
OnContextClickListener
interface 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(v: View!) Called when a view is context clicked. |
Public methods
onContextClick
Added in API level 23
abstract fun onContextClick(v: View!): Boolean
Called when a view is context clicked.
Parameters | |
---|---|
v |
View!: The view that has been context clicked. |
Return | |
---|---|
Boolean |
true if the callback consumed the context click, false otherwise. |