use _emit instead of notify

This commit is contained in:
Eduardo Speroni
2019-03-29 12:07:42 -03:00
parent d8b1c4ca45
commit af0d140296

View File

@@ -70,7 +70,7 @@ function initializeClickableSpan(): void {
onClick(view: android.view.View): void {
const owner = this.owner.get();
if (owner) {
owner.notify({ eventName: Span.linkClickEvent, object: owner });
owner._emit(Span.linkClickEvent);
}
view.clearFocus();
view.invalidate();