PagerGestureScope

class PagerGestureScope(var onTap: () -> Unit = {}, var onDoubleTap: () -> Boolean = { false }, var onLongPress: () -> Unit = {})

Pager的点击事件监听对象

Constructors

Link copied to clipboard
constructor(onTap: () -> Unit = {}, onDoubleTap: () -> Boolean = { false }, onLongPress: () -> Unit = {})

Properties

Link copied to clipboard
var onDoubleTap: () -> Boolean

双击事件

Link copied to clipboard
var onLongPress: () -> Unit

长按事件

Link copied to clipboard
var onTap: () -> Unit

点击事件