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
fix session lang is null #118
Conversation
👀 |
|
||
public class StringUtil { | ||
|
||
public static boolean isHalfWidthCharacters(String s) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's too much to check the characters 🤔
If lang
is null, it should not be bind lang
to the view and it's better to hide it like this.
#115 (comment)
What do you think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for review.
I hustle too much 😆
you are right!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Anyway, your code is interesting!! 👍
I learned the logic from your code 📝
Thanks for contribution! Commented 😃 |
if (englishTitle) { | ||
this.languageResId = decideLanguageResId(Session.LANG_EN_ID); | ||
} | ||
this.languageResId = decideLanguageResId(Session.LANG_JA_ID); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this need else
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh,, right
Sorry, I'll close this PR 🙇 |
yes, i will 💪 |
Issue
Overview (Required)
Links
Screenshot