Skip to content

Commit

Permalink
resume startLoop and stopLoop in onDetachedFromWindow and AttachedToW…
Browse files Browse the repository at this point in the history
…indow.
  • Loading branch information
zhpanvip committed Jul 12, 2020
1 parent a9cf6aa commit 3d6896c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -162,14 +162,14 @@ private void initView() {

@Override
protected void onDetachedFromWindow() {
// stopLoop();
stopLoop();
super.onDetachedFromWindow();
}

@Override
protected void onAttachedToWindow() {
super.onAttachedToWindow();
// startLoop();
startLoop();
}

@Override
Expand Down

0 comments on commit 3d6896c

Please sign in to comment.