Skip to content

Instantly share code, notes, and snippets.

@framundo
Created November 25, 2016 19:39
Show Gist options
  • Save framundo/45aebc62ebfecbfca44bb501e48939dc to your computer and use it in GitHub Desktop.
Save framundo/45aebc62ebfecbfca44bb501e48939dc to your computer and use it in GitHub Desktop.
Leaking timer
Handler mHandler = new Handler();
Runnable mTimerRunnable = new Runnable() {
@Override
public void run() {
// Do something
timer();
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment