onViewAdd method
void
onViewAdd()
Implementation
void onViewAdd() {
if (!_loadCompleted) {
_loadCompleted = true;
notifyChange();
var _timeMonitor = timeMonitor;
if (_timeMonitor != null) {
_timeMonitor.end();
var onLoadCompleteListener = _onLoadCompleteListener;
if (onLoadCompleteListener != null) {
onLoadCompleteListener(
_timeMonitor.totalTime,
_timeMonitor.events,
);
}
_context?.engineMonitor.reportModuleLoadComplete(
this,
_timeMonitor.totalTime,
_timeMonitor.events,
);
}
}
}