-
Notifications
You must be signed in to change notification settings - Fork 42
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
Java inheritance is missing #1653
Comments
Will be solved by: #577. I will prioritize this.
This technically shouldn't be, will investigate. |
Yes, I saw class inheritance in your prototype, so I was confused by it not being in mine. I wasn't sure if I was doing something non-obviously wrong, or it was something that was implemented on a branch. |
FYI I'm not blocked on this; I just made a helper to Java-cast to the superclass. This is definitely an important use case to have working, but no need to change any short-term work planning on my account. |
I think I know why this happened. Probably |
Possible to do |
Yes, that's what I meant by Java-cast, sorry for the confusing terminology. The helper I was referring to is a Dart helper because I need to do this constantly in the code, because most of the methods are on the superclass. |
I'm running
jnigen
onpublic interface ExoPlayer extends Player {...}
The resulting Dart object isclass ExoPlayer extends _$jni.JObject {...}
, with none of the methods fromPlayer
.I thought the problem was that I wasn't generating
Player
, so I added that to my config (although I would have filed that as an issue if that were it; this should Just Work IMO), but it didn't help; I have thePlayer
class now too, butExoPlayer
is still justclass ExoPlayer extends _$jni.JObject
and didn't get any new methods.The text was updated successfully, but these errors were encountered: