Created
August 14, 2023 08:40
-
-
Save aysesenses/e9d0cd0a828fb2c3221e60d0c4998371 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
override fun onCleared() { | |
Log.i("TimeViewModel", "TimerViewModel destroyed!") | |
super.onCleared() | |
timer?.cancel() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment