In this Video you will learn how to Create a Handler to Schedule Code.
Android runs every App in a separate Process for Security and Scalability.
Handlers can be used to Schedule code to run at a future time.
https://why-android.com/android-app-d...