Created
October 22, 2016 03:23
-
-
Save amatkivskiy/ce068d69d0790803d0b54b3c44ba470a 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
boolean isFavourite = false; | |
for (MediaItem item : mediaItemList) { | |
if (item.getId().equalsIgnoreCase(currentItem.getId())) { | |
isFavourite = true; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment