Clear queue on detach swipe refresh

pull/207/head
M66B 3 years ago
parent 40a0c1f3ce
commit 65ec2c625e

@ -79,6 +79,13 @@ public class SwipeRefreshLayoutEx extends SwipeRefreshLayout {
}
}
@Override
protected void onDetachedFromWindow() {
super.onDetachedFromWindow();
removeCallbacks(delayedDisable);
removeCallbacks(delayedMute);
}
private final Runnable delayedDisable = new Runnable() {
@Override
public void run() {

Loading…
Cancel
Save