insert method

  1. @override
void insert(
  1. int position,
  2. E item
)
override

插入item到指定下标

Implementation

@override
void insert(int position, E item) {
  _dataList.insert(position, item);
  notifyDataSetChanged();
}