Interface View.OnContextClickListener

Enclosing class:
View
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface View.OnContextClickListener
Interface definition for a callback to be invoked when a view is context clicked.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Called when a view is context clicked.
  • Method Details

    • onContextClick

      boolean onContextClick(View v)
      Called when a view is context clicked.
      Parameters:
      v - The view that has been context clicked.
      Returns:
      true if the callback consumed the context click, false otherwise.