Package icyllis.modernui.view
Interface View.OnLongClickListener
- 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.
Interface definition for a callback to be invoked when a view has been clicked and held.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
onLongClick
(View v) Called when a view has been clicked and held.
-
Method Details
-
onLongClick
Called when a view has been clicked and held.- Parameters:
v
- The view that was clicked and held.- Returns:
- true if the callback consumed the long click, false otherwise.
-