Created
December 15, 2017 17:24
-
-
Save AndrewHaisting/26c3fefce67b892ad2073d16b7bc5f94 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
override fun onImageClick(item: ImageItem) { | |
item.isFavorited = !item.isFavorited | |
recycler.adapter.notifyItemChanged(items.indexOf(item)) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment