Skip to content

Instantly share code, notes, and snippets.

@huuphuoc1396
Last active October 19, 2020 07:50
Show Gist options
  • Save huuphuoc1396/7fcb84d7c1c4c8768710571a8a20dcf0 to your computer and use it in GitHub Desktop.
Save huuphuoc1396/7fcb84d7c1c4c8768710571a8a20dcf0 to your computer and use it in GitHub Desktop.
Get DisplayManager
val displayManager = getSystemService(Context.DISPLAY_SERVICE) as DisplayManager
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment