-
-
Save nikit19/69660d3523f2d62e4e7746299a01d451 to your computer and use it in GitHub Desktop.
This file contains 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
val mediaSelectionLimit = 2 | |
val intent = Intent(MediaStore.ACTION_PICK_IMAGES) | |
intent.putExtra(MediaStore.EXTRA_PICK_IMAGES_MAX, mediaSelectionLimit) | |
startActivityForResult(intent, REQUEST_CODE_SINGLE_SELECT) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment