Created
July 27, 2020 02:56
-
-
Save cdmunoz/cf8ecaf2bc6ee98ebe44cc1dd054f2b3 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
override fun onCreate(savedInstanceState: Bundle?) { | |
super.onCreate(savedInstanceState) | |
setContentView(binding.root) | |
binding.cameraIcon.setOnClickListener { | |
cameraPermission.launch(Manifest.permission.CAMERA) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment