setOnWillDisAppear method
- @ControllerProps(NodeProps.kOnWillDisAppear)
- ListViewModel renderViewModel,
- bool enable
Implementation
@ControllerProps(NodeProps.kOnWillDisAppear)
void setOnWillDisAppear(ListViewModel renderViewModel, bool enable) {
var gestureDispatcher = renderViewModel.gestureDispatcher;
if (gestureDispatcher is NativeScrollGestureDispatcher) {
gestureDispatcher.willDisAppearEventEnable = enable;
}
}