LongClickEvent
class LongClickEvent
Components should implement an event of this type in order to receive Android long click events. The method is equivalent to the Android method View.OnLongClickListener.onLongClick
implementations should return true if they consumed the long click and false otherwise. An An example of the correct usage is:
static boolean onLongClick(
View view,
Param someParam
Prop someProp) {
if (shouldHandleLongClick(someParam, someProp)) {
handleLongClick(view);
return true;
}
return false;
}Content copied to clipboard