hsmnzaydn / image-zoom-view

Imageview zoom library for android
Apache License 2.0
55 stars 12 forks source link

Error while save image in android version 13 #9

Open solehfuddin opened 1 year ago

solehfuddin commented 1 year ago

Hello, thx for your lib. But, i have an issue when run application on Android Version 13.

An error debbuging like this :

java.lang.NullPointerException: Attempt to invoke virtual method 'int ozaydin.serkan.com.image_zoom_view.ImageSaveProperties.getPermissionRequestCode()' on a null object reference at ozaydin.serkan.com.image_zoom_view.ImageViewZoomBottomSheet$1.onClick(ImageViewZoomBottomSheet.java:36) at android.view.View.performClick(View.java:7506) at android.view.View.performClickInternal(View.java:7483) at android.view.View.-$$Nest$mperformClickInternal(Unknown Source:0) at android.view.View$PerformClick.run(View.java:29334) at android.os.Handler.handleCallback(Handler.java:942) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loopOnce(Looper.java:201) at android.os.Looper.loop(Looper.java:288) at android.app.ActivityThread.main(ActivityThread.java:7872) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)

Please help for this problem. Thankyou.