Android-Image-Slider
Android-Image-Slider copied to clipboard
Leak Canary detects a memory leak across device configuration change. i.e reference to a destroyed activity SliderView.mContext is leaking
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
- Add leakCanary to gradle build
- Install debug App on Phone
- Trigger a configuration change
- LeakCanary dumps a log for you
@sleez007 Did you find a solution for it?
@GamalSebaee the solution i found for this was setting the adapter to null in onDestroyView
@sleez007 setting setAutoCycle(false) in onDestroy fix my issue