JoeClark replied

408 weeks ago

I have a timer object but should I also have a TeaTimerMain object that creates itself on the onCreate method? The TeaTimerMain object could then interact with the timer as neither would then be static? I'm struggling with the top down view of how it should be laid out and if my TeaTimerMain object should interrogate the timer (a while loop??) or if the timer should tell my main object when it's done (through onTick and onFinish etc)? What's the correct way that objects talk to each other and how to know if an object even exists for another one to talk too? :confused:
Thanks…
Once again I appreciate the help!
I didn't find the right solution from the internet.
References:
- https://forums.overclockers.co.uk/threads/android-java-what-am-i-doing-wrong.18488067/

- Product Launch Video Animation Examples
Please log in to post a reply.