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
do not force to set setTitles() in a Builder #31
Comments
hardysim
changed the title
do not forced to set setTitles() in a Builder
do not force to set setTitles() in a Builder
Jan 27, 2017
Where am i forcing to set the title? |
The Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.String.trim()' on a null object reference
at com.davidecirillo.multichoicerecyclerview.MultiChoiceToolbar.<init>(MultiChoiceToolbar.java:26)
at com.davidecirillo.multichoicerecyclerview.MultiChoiceToolbar.<init>(MultiChoiceToolbar.java:9)
at com.davidecirillo.multichoicerecyclerview.MultiChoiceToolbar$Builder.build(MultiChoiceToolbar.java:122) In my understanding, a builder is the thing where I might add options (but I can leave them unset). This is not a bug - more like a architectural discussion ;-) |
Correct, thanks for adding info, will fix this later |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
if needed I think the constructor would be a better place
The text was updated successfully, but these errors were encountered: