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

兄弟萌,遇到长图预览黑屏的可以这样处理试下 #1661

Closed
ZQ173 opened this issue Sep 22, 2020 · 0 comments
Closed

兄弟萌,遇到长图预览黑屏的可以这样处理试下 #1661

ZQ173 opened this issue Sep 22, 2020 · 0 comments

Comments

@ZQ173
Copy link

ZQ173 commented Sep 22, 2020

我目前遇到正常尺寸图片能预览,但是一预览长图就黑屏,解决方式如下:

打开 PictureSimpleFragmentAdapter 这个类,拉到底部的 displayLongPic(Uri uri, SubsamplingScaleImageView longImg) 方法,将 longImg.setPanEnabled(true); 注释掉就不会黑屏了。

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

2 participants