Good day. In the process of using leakCanary detects a leak. Refers to the context of the N-SidedProgressBar.
I use the progress bar in the Fragment. It is likely that the fragment can not be destroyed, because the progress bar keeps the weak to activity. It is probably necessary to free the context in the onDetachedFromWindow () method.

Good day. In the process of using leakCanary detects a leak. Refers to the context of the N-SidedProgressBar.
I use the progress bar in the Fragment. It is likely that the fragment can not be destroyed, because the progress bar keeps the weak to activity. It is probably necessary to free the context in the onDetachedFromWindow () method.