Skip to content
Permalink
Browse files

fix(Android): on scroll syntax error (#577)

getJSEventName() needs a ScrollEventType parameter
  • Loading branch information...
452MJ authored and Titozzz committed May 17, 2019
1 parent cfa4994 commit cbbff21ea8b946f021e4026ea8079beebc353d3a
@@ -449,7 +449,7 @@ public Map getExportedCustomDirectEventTypeConstants() {
}
export.put(TopLoadingProgressEvent.EVENT_NAME, MapBuilder.of("registrationName", "onLoadingProgress"));
export.put(TopShouldStartLoadWithRequestEvent.EVENT_NAME, MapBuilder.of("registrationName", "onShouldStartLoadWithRequest"));
export.put(ScrollEventType.SCROLL.getJSEventName(), MapBuilder.of("registrationName", "onScroll"));
export.put(ScrollEventType.getJSEventName(ScrollEventType.SCROLL), MapBuilder.of("registrationName", "onScroll"));
return export;
}

0 comments on commit cbbff21

Please sign in to comment.
You can’t perform that action at this time.