I am a beginner in Android development and I wanted to start learning with Kotlin. I bought the android apprentice book and I am currently following chapter 3. On page 71, I try to run the app after implementing the countdowntimer and I have 2 compilations errors:
1/ Object is not abstract and does not implement abstract base class member public abstract fun onFinish(): Unit defined in android.os.CountDownTimer
2/ ‘OnFinish’ overrides nothing
Would you have some explanation ?
Thank you very much for your help
@daemonic_daz Can you please help with this when you get a chance? Thank you - much appreciated! :]
I used the source code provided by the book and it runs perfectly when using the full code, so I probably did something wrong !
Thank you for getting in touch, glad to hear you’re making progress.
If you’re still interested in an explanation as to what’s going on in your own code, feel free to you post the offending snippets here so we can go through it together.
Hope to hear back soon,
Thank you very much for your feedback, it’s nice to know I could ask here if I have troubles in the future.