Fixed #1082: Null reference exception in view.android.setOnTouchListener method

This commit is contained in:
Rossen Hristov
2015-11-11 15:37:42 +02:00
parent 9ce6c52667
commit 82d923a0a3

View File

@ -139,6 +139,10 @@ export class View extends viewCommon.View {
}
}
if (!owner._nativeView || !owner._nativeView.onTouchEvent) {
return false;
}
return owner._nativeView.onTouchEvent(motionEvent);
}
}));