Keep the CountDownTimer running after orientation change
问题 I have made a CountDownTimer that works perfectly - you can get the correct time for soft/medium/hard-boiling an egg. My problem is that the timer resets after orientation change. I have googled and tried so many solution, still I don't understand how to use the onSave and onRestore properly. Here's my code: Any tips? package com.dohman.boilaneggbae; import android.graphics.PorterDuff; import android.os.CountDownTimer; import android.support.v7.app.AppCompatActivity; import android.os.Bundle;