Move swipe refresh animation workaround from onPause() to onStop()
onPause() is also called when we don't want the animation to stop, e.g. when changing the focus to another window in multi window mode. However, adding a new Fragment will stop the old one. So onStop() is a better place to cancel the animation.
Loading
Please register or sign in to comment