Skip to content

Instantly share code, notes, and snippets.

@codeamt
Last active September 28, 2018 04:43
Show Gist options
  • Save codeamt/5d02f38df313db9d32f1983ca127e279 to your computer and use it in GitHub Desktop.
Save codeamt/5d02f38df313db9d32f1983ca127e279 to your computer and use it in GitHub Desktop.
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