fishwjy / MultiType-FilePicker

This is a light Android file picker library.
Apache License 2.0
1.4k stars 248 forks source link

在选择文件时会出现ANR #12

Open xiaoyan551 opened 7 years ago

xiaoyan551 commented 7 years ago

在选择文件时会出现ANR,希望能解决

fishwjy commented 7 years ago

最近略忙,抽空尽快调查一下原因,谢谢反馈

Hongbin1011 commented 7 years ago

问题同上 有没有解决

wenwenwen888 commented 7 years ago

+1

fishwjy commented 6 years ago

请问是选择什么文件的时候ANR?视频?还是普通文件? 如果是普通文件,建议调用的时候加入过滤后缀,否则普通文件整个手机上的太多了,很可能ANR 如果是视频,请使用 1.0.5版本。使用之后不管还有否问题,都请在这里回复一下,我好尽快解决或者关闭此issue,谢谢

Hongbin1011 commented 6 years ago

选择 后缀为 .doc,ppt 等这类的报anr 。 选择视频没有问题

在 2017年9月14日 下午2:27,Vincent notifications@github.com写道:

请问是选择什么文件的时候ANR?视频?还是普通文件? 如果是普通文件,建议调用的时候加入过滤后缀,否则普通文件整个手机上的太多了,很可能ANR 如果是视频,请使用 1.0.5版本。使用之后不管还有否问题,都请在这里回复一下,我好尽快解决或者关闭此issue,谢谢

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/fishwjy/MultiType-FilePicker/issues/12#issuecomment-329386165, or mute the thread https://github.com/notifications/unsubscribe-auth/Aagj5Xw-QCYSwK7qvLVJCJ7IKZ9d6xPPks5siMdogaJpZM4N6wb9 .

ychdevelop commented 6 years ago

文件加载时,执行FileFilter.getFiles 会造成主线程阻塞,如果放在子线程。又会崩溃

ljt474297694 commented 6 years ago

tim 20171215180040 查询回调成功后 同步处理数据时因Cursor过大导致主线程阻塞 此处另开线程就行