Skip to content
Burhanuddin Rashid edited this page May 26, 2018 · 5 revisions

You need to provide a file with callback method when an edited image is saved

 mPhotoEditor.saveImage(filePath, new PhotoEditor.OnSaveListener() {
                 @Override
                 public void onSuccess(@NonNull String imagePath) {
                    Log.e("PhotoEditor","Image Saved Successfully");
                 }

                 @Override
                 public void onFailure(@NonNull Exception exception) {
                     Log.e("PhotoEditor","Failed to save Image");
                 }
             });
Clone this wiki locally