CircularSeekBar icon indicating copy to clipboard operation
CircularSeekBar copied to clipboard

User interaction when CircularSeekBar is created in a Fragment

Open albertocampeol opened this issue 3 years ago • 0 comments

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)

albertocampeol avatar Feb 15 '22 13:02 albertocampeol