-
-
Save jezinka/f1c6accab9ceba0dc0bd2426a7b69379 to your computer and use it in GitHub Desktop.
This file contains 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
@NonNull | |
private String[] getMealIds(List<Meal> meals) { | |
String[] stringArgs = new String[meals.size()]; | |
for (int i = 0; i < meals.size(); i++) { | |
stringArgs[i] = Long.toString(meals.get(i).getId()); | |
} | |
return stringArgs; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment