TP-28209 | added handle clear fun (#55)

This commit is contained in:
Maila Rajanikanth
2023-05-11 16:08:20 +05:30
committed by GitHub Enterprise
parent 850d8642c0
commit 752f3ec5b9

View File

@@ -135,6 +135,12 @@ open class UiTronViewModel constructor(
}
}
fun clearHandle() {
handle.keys().forEach {
handle.remove<Any>(it)
}
}
override fun onCleared() {
super.onCleared()
countDownTimerHelper.onClear()