* This method must be called at most once per call to
- * {@link AttachmentListener#onAttachImage(Intent)}.
- * Normally, this is true if called from
+ * {@link AttachmentListener#onAttachImageClicked()}.
+ * Normally, this is true if called from the launcher equivalent of
* {@link Activity#onActivityResult(int, int, Intent)} since this is called
- * at most once per call to
- * {@link Activity#startActivityForResult(Intent, int)}.
+ * at most once per call to {@link ActivityResultLauncher#launch(Object)}.
*/
@SuppressWarnings("JavadocReference")
- public void onImageReceived(@Nullable Intent resultData) {
- if (resultData == null) return;
+ public void onImageReceived(@Nullable List