EventsListenerManage<E> class abstract

事件总线管理

Implementers

Constructors

EventsListenerManage()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addItemClickListener(OnItemClickListener<E?> listener) → void
添加监听事件
addItemLongClickListener(OnItemLongClickListener<E?> listener) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onItemClickable(E? item, int position) bool
点击事件可拦截onItemClickListeners
onItemLongClickable(E? item, int position) bool
长按事件可拦截onItemLongClickListeners
removeItemClickListener(OnItemClickListener<E?> listener) → void
移除监听事件
removeItemLongClickListener(OnItemLongClickListener<E?> listener) → void
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited