removeViewModel method

  1. @override
void removeViewModel(
  1. RenderViewModel child
)
override

Implementation

@override
void removeViewModel(RenderViewModel child) {
  if (child is ListPullHeaderViewModel) {
    pullHeaderViewModel = null;
  } else if (child is ListPullFooterViewModel) {
    pullFooterViewModel = null;
  }
  super.removeViewModel(child);
}