TP-28209 | added handle clear fun (#55)
This commit is contained in:
committed by
GitHub Enterprise
parent
850d8642c0
commit
752f3ec5b9
@@ -135,6 +135,12 @@ open class UiTronViewModel constructor(
|
||||
}
|
||||
}
|
||||
|
||||
fun clearHandle() {
|
||||
handle.keys().forEach {
|
||||
handle.remove<Any>(it)
|
||||
}
|
||||
}
|
||||
|
||||
override fun onCleared() {
|
||||
super.onCleared()
|
||||
countDownTimerHelper.onClear()
|
||||
|
||||
Reference in New Issue
Block a user