Comments (6)
谢谢你的意见。新版我会改善你说的问题。
from galleryfinal.
拍照是按下返回键问题。可以说具体点吗?是不是拍照按下返回键提示拍照失败,回调错误信息给调用者?
from galleryfinal.
明白了,谢谢~
from galleryfinal.
对的就是那个意思。library不建议去干预library自身之外的任何视觉上的东西,哈哈。我觉得可以把各种状态返回给调用着,比如:
static final int RESULT_SUCCESS=0x0;
static final int RESULT_TAKE_FAILD=0x1;
static final int RESULT_CROP_FAILD=0x2;
....
....
switch(code){
case RESULT_TAKE_FAILD:
//这个时候开发着会去提示,同时干一些他自己的逻辑
break;
case RESULT_CROP_FAILD:
//此错误可能开发者不需要任何提示
break;
}
总之我的建议就是尽量告诉开发者结果,library本身不做任何多余的处理,有点啰嗦。不好意思
from galleryfinal.
嗯。明白你的意思。我是想让开发者使用起来比较简单,所有的复杂的逻辑都交给了框架,对于开发者只需要关心拿到的图片和错误信息,就像小白用户可以很快速的入手,同时又想满足大家不同的需求,一心想框架功能做全做强大。哈哈~也许自己考虑太多了。非常感谢你意见和看法.
from galleryfinal.
@pengjianbo 你可以提供另一个library来作为它人补充用于提供默认Simple实现,就像retrofit 2.0的各个convert一样。我觉得这样不错。
from galleryfinal.
Related Issues (20)
- 关于相机的问题 HOT 2
- 裁剪崩溃 ExifInterface only supports saving attributes on JPEG formats. HOT 1
- 手机存储爆满,点击照片的剪切旋转等功能崩溃
- 裁剪过小尺寸的照片崩溃 HOT 2
- 沉浸状态栏遮挡
- 安卓7.0 HOT 2
- 使用联想的机子,调用系统的拍照功能之后返回到当前的应用中,当前应用直接崩溃。
- 安卓6.0出现这个错误 HOT 8
- 裁剪过小的图片会造成崩溃,建议作者能try{}catch
- 作者没有做沉浸式的适配吗?
- 设置已选列表,重新打开后无效?
- android 7.0
- android 8.1 Caused by: android.os.FileUriExposedException HOT 1
- 你好,请问设置照片的勾选按钮和未勾选按钮是什么,我没找到,麻烦看到了回一下,挺急的。
- 为什么要获取电话权限?
- 配置功能里面不能直接设置单选
- 图片显示重复
- createNewFile
- save与restore保存key不一致
- 是否支持Androidx? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from galleryfinal.