Created
August 20, 2019 20:36
-
-
Save wangerekaharun/b8d80665098c3c20f865121d0f6b7bf4 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 void setLiked(boolean isLiked) { | |
| if(isLiked) { | |
| fab.setImageResource(R.drawable.ic_favorite_onyx_24dp); | |
| } else { | |
| fab.setImageResource(R.drawable.ic_favorite_border_onyx_24dp); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment