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
crash after XF 4.4 release. #57
Comments
@heebaek you made a new project that reproduces this? Can you upload it here? Thanks! |
ok. this is default empty template project and i added one image. (but image not visible...this is bug too.) there are no tabs, so you just need to click back button after launch. |
Thanks, yeah this is jacked up! |
Fixes: #57 Most of these are actually correctness fixes. I am not sure how Xamarin.Forms 4.4 triggered these, but they were not quite right: * We need an `ImageButtonRenderer` and call `CancelGlide` in `Dispose` * `CancelGlide` should use the `Application.Context` to call `With(Application.Context).Clear(imageView)`. This will work even if the `Activity` is destroyed. * Cases that check `IsActivityAlive` and `return` should call `CancelGlide`
Fixes: #57 Most of these are actually correctness fixes. I am not sure how Xamarin.Forms 4.4 triggered these, but they were not quite right: * We need an `ImageButtonRenderer` and call `CancelGlide` in `Dispose` * `CancelGlide` should use the `Application.Context` to call `With(Application.Context).Clear(imageView)`. This will work even if the `Activity` is destroyed. * Cases that check `IsActivityAlive` and `return` should call `CancelGlide`
@heebaek try out the latest update for me, and let me know, thanks! |
crash bug has been fixed. |
glide has a behavior difference, you will need to supply WidthRequest or HeightRequest as mentioned here: #10 (comment) I have not figured out a way to get around this issue yet. |
When back to launcher from top page with image,
No constructor found for Android.Glide.ImageRenderer::.ctor(System.IntPtr, Android.Runtime.JniHandleOwnership) ---> Java.Interop.JavaLocationException: Exception of type 'Java.Interop.JavaLocationException' was thrown.
if i add a fake ctor, exception is not throwing.
public ImageRenderer(System.IntPtr intPtr, Android.Runtime.JniHandleOwnership jniHandleOwnership) { }
you can test this easily with default sample project(Shell Forms app template), please try back button from about tab(they use Xamarin logo image).
The text was updated successfully, but these errors were encountered: