I have a text written in my app. I want it to be changed after some time automatically after the app starts. I need to invoke a method somewhere so that it can be called automatically.
I've tried putting my code in onStart()
method, but that delays the starting of my app,
that's why I want my method to be invoked after onStart()
method.
In other words, I want my app to get started, see the previous text and after waiting for some fixed time (I will use Thread.sleep(ms)
) it would change to some other text.
I need to submit a project. Please help me with the problem. Thank you.