in activity this method still work but when i call it in Dialog Fragments, it is deprecated.
Edit:i use the Matisse library for load image , it like
library link: https://github.com/zhihu/Matisse
Matisse.from(getActivity())
.choose(MimeType.ofImage())
.countable(true)
.maxSelectable(9)
.addFilter(new GifSizeFilter(320, 320, 5 * Filter.K * Filter.K))
.restrictOrientation(ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED)
.thumbnailScale(0.85f)
.imageEngine(new GlideEngine())
.showPreview(false) // Default is `true`
.forResult(REQUEST_CODE_AVATAR);
how can i use ActivityResultLaucher for this library?
explain to me why and how can i fix it? please
Have a nice day,everyone!