-
-
Notifications
You must be signed in to change notification settings - Fork 136
Generate better code #689
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Milestone
Comments
Results from research:
|
Update: This Issue will take a back seat until the need for generic becomes greater since the effort to implement this feature will be significant. |
vhristov5555
pushed a commit
to NativeScript/nativescript-tooling-qa
that referenced
this issue
Mar 21, 2019
vhristov5555
pushed a commit
to NativeScript/nativescript-tooling-qa
that referenced
this issue
Mar 21, 2019
Add static binding generator for issue NativeScript/android#689
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Original issue: #514 (comment)
Problem:
Static binding generator, creates wrong code for the following:
compile "de.mrmaffen:vlc-android-sdk:2.0.6"
to gradle dependencies.Currently the generated code is:
but the parameter
org.videolan.libvlc.VLCEvent
is incorrect, considering VLCEvent is a private abstract class. Besides that, the declaration of the interfaceorg.videolan.libvlc.MediaPlayer.EventListener
states:which means the parameter needs to be
MediaPlayer.Event
, so the correct generated code should be:Solution:
Find an appropriate code generation tool like JDT or Roaster or any other tool, which deals with language generation.
The text was updated successfully, but these errors were encountered: