igreenwood / SimpleCropView

A simple image cropping library for Android.
MIT License
2.48k stars 465 forks source link

Can you make thing simpler? #128

Open homandiy opened 6 years ago

homandiy commented 6 years ago
                    cropImageView.crop(sourceUri).execute(new CropCallback() {
                        @Override
                        public void onSuccess(Bitmap cropped) {
                            cropImageView.save(cropped)
                                    .execute(saveUri, mSaveCallback);
                        }

                        @Override
                        public void onError(Throwable e) {
                        }
                    });

I cannot use this function because where is the mSaveCallback. Can you do it with one line? Or, there's no callback at all for the UI user.