Skip to content
  • tiap destroy, kalo bisa si timer-nya juga ikut di destroy. e.g kuis:

    1 jam, tapi, user udah selesain kuis dalam 30menit.

    // ganti jadi "mTimerTask?"
    
    private fun onDestroyTimer() {
       mTimerTask = null
       mTimer = null // or
       mTimer.clear() // lupa bagian ini
    }
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment