-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
ButtonRectangle getTextView() nullpointer exception #261
Comments
me too |
Same here. I can't resolve that. |
I think it's beacause on this commit 1c574cf#diff-332a5defe7ad66da425918b00fce1925 a TextView was added to ButtonRectangle but getter is accessing parent's TextView which is null. There are 2 pull requests about this bug but none of them were merged yet: |
Original pull request has been up since November 2014 - is this getting fixed soon? |
yeah I have a related issue as well. button.settext throws npe. merging the fix soon? |
@pseudozach PR #275 works for me. Just check out that fork and build it, then add the generated aar to your libs folder and include it in build.gradle. Works as a temporary workaround |
@naphthalene thanks, I switched to 1.4 build it doesnt have this issue. I have another problem tho, click on buttonrectangle is super slow. I'll go dig for this one now. |
I have the same problem On 1.4 works perfectly but when I update to 1.5 I`m getting NullPointerEx on (ButtonRectangle)setText I need the 1.5 version because of a Switch component bug which it was fixed on 1.5... Any news ? |
Actually the Switch bug it doesn`t work on the 1.5 version as well.. :( |
I just upgraded to the newest version and I get a nullpointer exception when I call getTextView() on my ButtonRectangle. What happened?
The text was updated successfully, but these errors were encountered: