Your code does not support user interaction when the CSB is in a Fragment. Once the Fragment gets recreated by the system, the user loses control of the MotionEvent and the progress stops. Maybe consider to put the MotionEvent, mUserIsMovingPointer, mPointerPosition, mStartAngle in the Bundle in onSaveInstanceState() and then restore it if needed in onRestoreInstanceState(Parcelable state)
Your code does not support user interaction when the CSB is in a Fragment. Once the Fragment gets recreated by the system, the user loses control of the MotionEvent and the progress stops. Maybe consider to put the MotionEvent, mUserIsMovingPointer, mPointerPosition, mStartAngle in the Bundle in onSaveInstanceState() and then restore it if needed in onRestoreInstanceState(Parcelable state)