public static class EmojIconsPopup.RepeatListener
extends java.lang.Object
implements android.view.View.OnTouchListener
Interval is scheduled before the onClick completes, so it has to run fast. If it runs slow, it does not generate skipped onClicks.
| Constructor and Description |
|---|
EmojIconsPopup.RepeatListener(int initialInterval,
int normalInterval,
android.view.View.OnClickListener clickListener) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
onTouch(android.view.View view,
android.view.MotionEvent motionEvent) |
public EmojIconsPopup.RepeatListener(int initialInterval,
int normalInterval,
android.view.View.OnClickListener clickListener)
initialInterval - The interval before first click eventnormalInterval - The interval before second and subsequent click
eventsclickListener - The OnClickListener, that will be called
periodically