Created
May 13, 2018 13:57
-
-
Save vsay01/452007bb888ac1223ccdb5a998a80d09 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
| if ((mColorPalette != 0)) { | |
| mViewBackground.setBackgroundColor(mColorPalette); | |
| } else { | |
| if (getActivity() != null) { | |
| mViewBackground.setBackgroundColor(ContextCompat.getColor(getActivity(), R.color.movieDetailTitleBg)); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment