Last active
September 28, 2018 04:43
-
-
Save codeamt/5d02f38df313db9d32f1983ca127e279 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private String makeList(List<String> stuff) { | |
String merge = ""; | |
for (String s: stuff) { | |
merge += "- " + s + "\n"; | |
} | |
return merge; | |
} | |
private String edgeCase(String s) { | |
s = s.equals("") ? getString(R.string.missing_detail) : s; | |
return s; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment