Recently i have started learning Kotlin. After having some basic functionality i am stuck with image picker.
Does there any specific way to select an image from gallery and camera using Kotlin? Or should i implement in our normal Java code and then call it from Kotlin file?
Java code :
Intent intent = new Intent();
intent.setType("image/*");
intent.setAction(Intent.ACTION_GET_CONTENT);
startActivityForResult(Intent.createChooser(intent, "Select Picture"), PICK_IMAGE);
Any other difference to perform this operation using Kotlin?