Skip to content

Instantly share code, notes, and snippets.

@victorbrndls
Created May 13, 2021 11:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save victorbrndls/d15b0ba62204e94a47af88126366108c to your computer and use it in GitHub Desktop.
Save victorbrndls/d15b0ba62204e94a47af88126366108c to your computer and use it in GitHub Desktop.
// Activity
getCompatColor(R.color.white)
// Fragment
requireContext().getCompatColor(R.color.white)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment