Matisse icon indicating copy to clipboard operation
Matisse copied to clipboard

Add a new callback to avoid onActivityResult

Open junyuecao opened this issue 7 years ago • 3 comments

This can simplify the API usage

junyuecao avatar Dec 22 '17 03:12 junyuecao

可以具体说下你的这个PR主要是为了解决现有存在的什么问题吗,以及设计思想是什么,只看commit的话不好理解,不知道你想解决什么问题的话,看代码也是云里雾里的~

ckjoker avatar Dec 22 '17 06:12 ckjoker

以前要实现选择图片,需要在onactivityresult里拿到选择的图片,这个PR里我们通过自己构造一个一个隐形的fragment,实现onactivityresult,这样调用方就只需要传一个回调即可。当然原来的API不影响。你可以看下readme里新增的那段代码示例。

junyuecao avatar Dec 23 '17 13:12 junyuecao

this should be accepted

RyugaBahira avatar Apr 20 '22 12:04 RyugaBahira