ImagePicker

constructor(@NonNull fragmentManager: FragmentManager, @NonNull fragmentTag: String)

Creates an image picker object, start image picking or capturing by using startImageCapture or startImageGallery

Parameters

fragmentManager

Fragment manager, supplied by the calling activity for fragment stack control.

fragmentTag

Tag to be given to the fragment once added to the layout