-
Notifications
You must be signed in to change notification settings - Fork 215
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
java.lang.NullPointerException: ... '...SmoothImageView.y(....SmoothImageView$k)' on a null object #187
Comments
左右快速滑动的时候,会不流畅,划不过去。特别是滑动距离不是很长的情况下。 |
亲故不要直接加载原图,图片文件过大,肯定不流畅 |
我表达有歧义。是说在快速滑动手指,意图切换下一张图片的时候,偶尔连续滑动几次都切换不成功,回弹当前图片。 |
另一个错误: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.view.ViewGroup.setEnabled(boolean)' on a null object reference |
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 |
Attempt to invoke virtual method 'void com.previewlibrary.wight.SmoothImageView.transformIn(com.previewlibrary.wight.SmoothImageView$onTransformListener)' on a null object reference |
这个问题我也遇到了,应该在transformIn内的imageView做个非空判断 |
兄弟们请问解决了吗?我现在还有这个问题 |
|
java.lang.NullPointerException: Attempt to invoke virtual method 'void com.previewlibrary.wight.SmoothImageView.y(com.previewlibrary.wight.SmoothImageView$k)' on a null object reference
at com.previewlibrary.view.BasePhotoFragment.void transformIn()(BasePhotoFragment.java:263)
at com.previewlibrary.GPreviewActivity$2.void onGlobalLayout()(GPreviewActivity.java:189)
at android.view.ViewTreeObserver.null dispatchOnGlobalLayout(null)(ViewTreeObserver.java:945)
at android.view.ViewRootImpl.null performTraversals(null)(ViewRootImpl.java:2630)
......
The text was updated successfully, but these errors were encountered: