ArrangeAdapter<E> class abstract

滑动适配器业务层接口

Inheritance
Implementers

Constructors

ArrangeAdapter({DataBuildState<StatefulWidget>? state, GestureCallback? gestureCallback})

Properties

bindEventListener OnEventListener<E>
OnEventListener总线绑定itemView
no setterinherited
gestureCallback GestureCallback?
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
items List<E?>
获取不可变数据列表
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size int
数据长度
no setterinherited
state DataBuildState<StatefulWidget>?
getter/setter pairinherited

Methods

addItem(E item) → void
新增item
inherited
addItemClickListener(OnItemClickListener<E?> listener) → void
添加监听事件
inherited
addItemLongClickListener(OnItemLongClickListener<E?> listener) → void
inherited
addItems(List<E?> items) → void
新增数组items
inherited
addItemsClear(List<E?> items) → void
清除并新增
inherited
bindItemView(E? item, int position) Widget
inherited
buildItemView(E? item, int position) Widget
inherited
clear() → void
清除列表
inherited
indexOfItem(E item) int
获取item数据对应首个下标
inherited
insert(int position, E item) → void
插入item到指定下标
inherited
item(int position) → E?
获取下标position数据项
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notifyDataSetChanged() → void
通知已注册的监听器数据集已更改
inherited
notifyItemChanged(int position) → void
通知指定下标的监听器数据集已更改
inherited
onInitItemView(E? item, int position) → void
inherited
onItemClickable(E? item, int position) bool
点击事件可拦截onItemClickListeners
inherited
onItemLongClickable(E? item, int position) bool
长按事件可拦截onItemLongClickListeners
inherited
onItemUpdate(E? item, int position) Widget
上层视图构建方法
inherited
onItemViewDispose(E? item, int position) → void
inherited
registerCallback(DataSetCallback onDataSetChanged) → void
注册数据变化监听器
inherited
remove(E item) → void
移除item
inherited
removeAt(int position) → void
移除下标position
inherited
removeCallback(DataSetCallback? onDataSetChanged) → void
移除数据变化监听器
inherited
removeItemClickListener(OnItemClickListener<E?> listener) → void
移除监听事件
inherited
removeItemLongClickListener(OnItemClickListener<E?> listener) → void
inherited
swap(int current, int next) → void
交换下标位置
inherited
toString() String
A string representation of this object.
inherited

Operators

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