Code example for GestureDetector

Methods: setIsLongpressEnabled