Hi, I've been looking solution for SfImageEditor Android, whenever I am opening editor, save, finish activity for the first time, seems no problem.
However if i am doing exact same thing for the second time, open editor (start sfImageEditorActivity), it crashes with this exception "System.ObjectDisposedException".
I know this is not only my problem since your SampleCode from dev essentials also behaves the same way, it crashes on the second time trying to load image.
my visual studio version is 15.4.4,
sdk for compilation is API level 26
target platform mono 8.0
syncfusion SfImageEditor version 15.4.0.17.
thank you in advance.
debug information:
11-29 17:42:02.202 E/mono (31446):
11-29 17:42:02.202 E/mono (31446): Unhandled Exception:
11-29 17:42:02.202 E/mono (31446): System.ObjectDisposedException: Cannot access a disposed object.
11-29 17:42:02.202 E/mono (31446): Object name: 'Android.Graphics.Bitmap'.
11-29
17:42:02.202 E/mono (31446): at
Java.Interop.JniPeerMembers.AssertSelf (Java.Interop.IJavaPeerable self)
[0x00029] in <7cfbebb561c54efc9010b018c0846c7e>:0
11-29
17:42:02.202 E/mono (31446): at
Java.Interop.JniPeerMembers+JniInstanceMethods.InvokeAbstractVoidMethod
(System.String encodedMember, Java.Interop.IJavaPeerable self,
Java.Interop.JniArgumentValue* parameters) [0x00000] in
<7cfbebb561c54efc9010b018c0846c7e>:0
11-29 17:42:02.202
E/mono (31446): at Android.Graphics.Bitmap.Recycle () [0x0000a] in
:0
11-29 17:42:02.202
E/mono (31446): at
Syncfusion.SfImageEditor.Android.SfImageEditor.ReleaseBitmaps ()
[0x00026] in <94e54f7aa6304c908898b61fc4e8a06d>:0
11-29
17:42:02.202 E/mono (31446): at
Syncfusion.SfImageEditor.Android.SfImageEditor.Dispose (System.Boolean
disposing) [0x00007] in <94e54f7aa6304c908898b61fc4e8a06d>:0
11-29 17:42:02.202 E/mono (31446): at Java.Lang.Object.Finalize () [0x00048] in :0
11-29
17:42:02.212 E/mono-rt (31446): [ERROR] FATAL UNHANDLED EXCEPTION:
System.ObjectDisposedException: Cannot access a disposed object.
11-29 17:42:02.212 E/mono-rt (31446): Object name: 'Android.Graphics.Bitmap'.
11-29
17:42:02.212 E/mono-rt (31446): at
Java.Interop.JniPeerMembers.AssertSelf (Java.Interop.IJavaPeerable self)
[0x00029] in <7cfbebb561c54efc9010b018c0846c7e>:0
11-29
17:42:02.212 E/mono-rt (31446): at
Java.Interop.JniPeerMembers+JniInstanceMethods.InvokeAbstractVoidMethod
(System.String encodedMember, Java.Interop.IJavaPeerable self,
Java.Interop.JniArgumentValue* parameters) [0x00000] in
<7cfbebb561c54efc9010b018c0846c7e>:0
11-29 17:42:02.212
E/mono-rt (31446): at Android.Graphics.Bitmap.Recycle () [0x0000a] in
:0
11-29 17:42:02.212
E/mono-rt (31446): at
Syncfusion.SfImageEditor.Android.SfImageEditor.ReleaseBitmaps ()
[0x00026] in <94e54f7aa6304c908898b61fc4e8a06d>:0
11-29
17:42:02.212 E/mono-rt (31446): at
Syncfusion.SfImageEditor.Android.SfImageEditor.Dispose (System.Boolean
disposing) [0x00007] in <94e54f7aa6304c908898b61fc4e8a06d>:0
11-29 17:42:02.212 E/mono-rt (31446): at Java.Lang.Object.Finalize () [0x00048] in :0