addItem method

  1. @override
void addItem(
  1. E item
)
override

新增item

Implementation

@override
void addItem(E item) {
  _dataList.add(item);
  notifyDataSetChanged();
}