Skip to content

no suitable constructor found for Event(int) #30

Description

@waleedarshad-vf

I am using react-native 0.27.2

/Users/user/Documents/projects/zig-android/node_modules/react-native-image-zoom/android/src/main/java/com/image/zoom/ImageEvent.java:39: error: no suitable constructor found for Event(int)
super(viewId);
^
constructor Event.Event() is not applicable
(actual and formal argument lists differ in length)
constructor Event.Event(int,long) is not applicable
(actual and formal argument lists differ in length)
/Users/waleed/Documents/projects/zig-android/node_modules/react-native-image-zoom/android/src/main/java/com/image/zoom/viewpager/PageScrollEvent.java:29: error: no suitable constructor found for Event(int)
super(viewTag);
^
constructor Event.Event() is not applicable
(actual and formal argument lists differ in length)
constructor Event.Event(int,long) is not applicable
(actual and formal argument lists differ in length)
/Users/waleed/Documents/projects/zig-android/node_modules/react-native-image-zoom/android/src/main/java/com/image/zoom/viewpager/PageScrollStateChangedEvent.java:25: error: no suitable constructor found for Event(int)
super(viewTag);
^
constructor Event.Event() is not applicable
(actual and formal argument lists differ in length)
constructor Event.Event(int,long) is not applicable
(actual and formal argument lists differ in length)
/Users/waleed/Documents/projects/zig-android/node_modules/react-native-image-zoom/android/src/main/java/com/image/zoom/viewpager/PageSelectedEvent.java:34: error: no suitable constructor found for Event(int)
super(viewTag);
^
constructor Event.Event() is not applicable
(actual and formal argument lists differ in length)
constructor Event.Event(int,long) is not applicable
(actual and formal argument lists differ in length)
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
4 errors
:react-native-image-zoom:compileReleaseJava FAILED

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions