notifyDataChanged method

void notifyDataChanged()

通知适配器数据改变

Implementation

void notifyDataChanged() {
  if (picker?.state != null) {
    picker!.adapter.doShow();
    picker!.adapter.initSelects();
    for (int j = 0; j < picker!.selecteds.length; j++) {
      picker!.state!.scrollController[j].jumpToItem(picker!.selecteds[j]);
    }
  }
}