Open yusrilmr opened 4 years ago
There is a small mistake in the wiki, particularly in Saving part: https://github.com/burhanrashid52/PhotoEditor/wiki/Saving
Current code:
mPhotoEditor.saveAsBitmap(new PhotoEditor.OnSaveBitmap() { @Override public void onBitmapReady(@NonNull Bitmap saveBitmap) { Log.e("PhotoEditor","Image Saved Successfully"); } @Override public void onFailure(@NonNull Exception exception) { Log.e("PhotoEditor","Failed to save Image"); } });
It should be:
mPhotoEditor.saveAsBitmap(new OnSaveBitmap() { @Override public void onBitmapReady(@NonNull Bitmap saveBitmap) { } @Override public void onFailure(@NonNull Exception exception) { } });
If we still use PhotoEditor.OnSaveBitmap, it shows Cannot Resolve Symbol 'OnSaveBitmap'
PhotoEditor.OnSaveBitmap
Cannot Resolve Symbol 'OnSaveBitmap'
It is still not able to create the bitmap. Did this work for anyone?
There is a small mistake in the wiki, particularly in Saving part: https://github.com/burhanrashid52/PhotoEditor/wiki/Saving
Current code:
It should be:
If we still use
PhotoEditor.OnSaveBitmap
, it showsCannot Resolve Symbol 'OnSaveBitmap'