We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MIUI 版本:11.20.1.21开发版 Android 版本: 10
val photo = EasyPhoto() .setCrop(true) photo.setCallback { val requestBody = it.asRequestBody() val multipartBody = MultipartBody.Builder() .setType(MultipartBody.FORM) .addFormDataPart("avatar", it.name, requestBody) .build() mPresenter?.avatar(multipartBody.parts[0]) } photo.setError { EasyLog.DEFAULT.e(it) EasyToast.DEFAULT.show(it.message) } photo.selectPhoto(getHostActivity())
The text was updated successfully, but these errors were encountered:
在选择剪辑图片的时候,无异常抛出 取消剪辑图片,抛出权限异常 阅读文档发现: so.. 问题解决
Sorry, something went wrong.
No branches or pull requests
MIUI 版本:11.20.1.21开发版
Android 版本: 10
The text was updated successfully, but these errors were encountered: