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

got exception when setting TextView's text to null #107

Closed
amoikevin opened this issue Mar 7, 2017 · 1 comment
Closed

got exception when setting TextView's text to null #107

amoikevin opened this issue Mar 7, 2017 · 1 comment

Comments

@amoikevin
Copy link

amoikevin commented Mar 7, 2017

version:
0.5.0
code:
Base.text(null)
error:
java.lang.IllegalArgumentException: method android.widget.TextView.setText argument 1 has type int, got null
at java.lang.reflect.Method.invoke(Native Method)
at trikita.anvil.PropertySetter.set(PropertySetter.java:106)
at trikita.anvil.Anvil$Mount$Iterator.attr(Anvil.java:331)
at trikita.anvil.BaseDSL.attr(BaseDSL.java:105)
at trikita.anvil.BaseDSL.text(BaseDSL.java:386)

@gmarques33
Copy link
Contributor

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants