OnEventWrapper<E> class
OnEventWrapper对item
点击事件的包装实现
- Inheritance
-
- Object
- OnEventListener<
E> - OnEventWrapper
Constructors
- OnEventWrapper([EventsListenerManage? _stateEventsListenerManage])
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
onItemClickListeners
↔ List<
OnItemClickListener< E?> > -
getter/setter pair
-
onItemDoubleClickListeners
↔ List<
OnItemDoubleClickListener< E?> > -
getter/setter pair
-
onItemLongClickListeners
↔ List<
OnItemLongClickListener< E?> > -
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addItemClickListener(
OnItemClickListener< E?> listener) → void -
添加监听事件
override
-
addItemLongClickListener(
OnItemLongClickListener< E?> listener) → void -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onClickCallback(
E? item, int position) → void -
点击事件回调触发
override
-
onDoubleCallback(
E? item, int position) → void -
双击事件回调触发
override
-
onItemClickable(
E? item, int position) → bool -
点击事件可拦截onItemClickListeners
override
-
onItemLongClickable(
E? item, int position) → bool -
长按事件可拦截onItemLongClickListeners
override
-
onLongCallback(
E? item, int position) → void -
长按事件回调触发
override
-
removeItemClickListener(
OnItemClickListener< E?> listener) → void -
移除监听事件
override
-
removeItemLongClickListener(
OnItemLongClickListener< E?> listener) → void -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited