I have an activity that is supposed to get an image from gallery and preview it before allowing the user to upload it to a database. I am using UCrop as my imag
Is there a way to make ActivityResultContract.GetContent filter only media files? private val selectMediaResultLauncher = registerForActivityResult(Activity