I have a problem when trying to recycle my bitmaps. This problem only occurs on Android Lollipop, I've tried on earlier version and the problem never occured. Before calling Recycle(), I check that my bitmap is not null and not already recycled, works fine on Android 4.X but crash on Android 5.X.
The exception is thrown by Android.Runtime.JNIEnv.CallVoidMethod(intptr,intptr). I call Recycle() on my bitmap during OnDetachedFromWindow method.
Did anyone encounter this problem yet? Or am I doing something wrong?