Skip to content
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

Cannot set float field #148

Closed
slavchev opened this issue Jul 15, 2015 · 0 comments
Closed

Cannot set float field #148

slavchev opened this issue Jul 15, 2015 · 0 comments

Comments

@slavchev
Copy link

Error:

JNI DETECTED ERROR IN APPLICATION: attempt to set field float android.widget.LinearLayout$LayoutParams.weight with value of wrong type: J

Repro:

var lParams = new android.widget.LinearLayout.LayoutParams(android.widget.LinearLayout.LayoutParams.MATCH_PARENT, android.widget.LinearLayout.LayoutParams.MATCH_PARENT);
lParams.weight = 1.1;
@slavchev slavchev self-assigned this Jul 15, 2015
@slavchev slavchev added this to the 1.2.0 milestone Jul 15, 2015
slavchev pushed a commit that referenced this issue Jul 15, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants