diff --git a/android/src/fabric/java/com/reactnativepagerview/PagerViewViewManager.kt b/android/src/fabric/java/com/reactnativepagerview/PagerViewViewManager.kt index e9c4a52d..5dae9757 100644 --- a/android/src/fabric/java/com/reactnativepagerview/PagerViewViewManager.kt +++ b/android/src/fabric/java/com/reactnativepagerview/PagerViewViewManager.kt @@ -37,7 +37,7 @@ class PagerViewViewManager : ViewGroupManager(), RNCViewPa return PagerViewViewManagerImpl.NAME } - override fun receiveCommand(root: NestedScrollableHost, commandId: String?, args: ReadableArray?) { + override fun receiveCommand(root: NestedScrollableHost, commandId: String, args: ReadableArray?) { mDelegate.receiveCommand(root, commandId, args) } @@ -211,4 +211,4 @@ class PagerViewViewManager : ViewGroupManager(), RNCViewPa PageScrollStateChangedEvent.EVENT_NAME, MapBuilder.of("registrationName", "onPageScrollStateChanged"), PageSelectedEvent.EVENT_NAME, MapBuilder.of("registrationName", "onPageSelected")) } -} \ No newline at end of file +}