In this video we will learn, how to execute a piece of code by passing a Runnable to a Handler's postDelayed method. We will also make this Runnable repeat itself and stop it on bu
In this video we will learn, how to execute a piece of code by passing a Runnable to a Handler's postDelayed method. We will also make this Runnable repeat itself and stop it on bu
In this tutorial, I will explain what Android's Looper, MessageQueue, and Handler classes are, how they are used to keep the UI thread alive, and how we can add them to a normal Ja