Skip to content
New issue

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

小米Android11版本运行无法加载任何照片,进度条一直在转圈 #1725

Closed
Stonejxn opened this issue Nov 3, 2020 · 8 comments

Comments

@Stonejxn
Copy link

Stonejxn commented Nov 3, 2020

Android11小米手机是直接进入图片选择页面只显示进度条,没有任何反应。然后选择相册文件夹还是老样子,进度条在转没有任何数据加载

@Stonejxn
Copy link
Author

Stonejxn commented Nov 3, 2020


image

image

@t3225210
Copy link

t3225210 commented Nov 3, 2020

Android 11/API 30后针对扩展存储的访问权限进行增强,从媒体库中读出媒体列表需要改变方式,详细信息参考如下链接
https://blog.csdn.net/xxw19950701/article/details/109284393

@Stonejxn
Copy link
Author

Stonejxn commented Nov 3, 2020

Android 11/API 30后针对扩展存储的访问权限进行增强,从媒体库中读出媒体列表需要改变方式,详细信息参考如下链接
https://blog.csdn.net/xxw19950701/article/details/109284393

那么针对我这个问题,该如何修改来使用当前库进行图片加载显示??

@chensong1993
Copy link

有种临时的方法 将 compileSdkVersion 改成29 我之前是30

@wmyasw
Copy link

wmyasw commented Nov 5, 2020

针对你这个问题需要 重写 读取contentProvider 的查询语句, 11 对 limit group by 等 关键字做了规整

@Stonejxn
Copy link
Author

Stonejxn commented Nov 5, 2020

有种临时的方法 将 compileSdkVersion 改成29 我之前是30

我现在的处理方式是暂时再Android11上不分页处理。后面还是要等待楼主再库中做处理,等待楼主!

@ghost
Copy link

ghost commented Nov 5, 2020

我也遇到了同样的问题,一样的Android11

@LuckSiege
Copy link
Owner

后续版本已经适配了Android 11 近期会更新

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants