reload method

  1. @override
dynamic reload()
override

Implementation

@override
reload() {
  if (listView?.physics != physics) {
    listView?.physics = physics;
  }

  if (listView?.edgeInsets != edgeInsets) {
    listView?.edgeInsets = edgeInsets;
  }

  if (listView?.scrollDirection != scrollDirection) {
    listView?.scrollDirection = scrollDirection;
  }

  if (listView?.needScrollerListener != needScrollerListener) {
    listView?.needScrollerListener = needScrollerListener;
  }

  if (listView?.sections != sections) {
    listView?.sections = sections;
  }

  listView?.reload();
}