This is a simple demo that shows how to use a CountDownTimer. This repo is related to the following post. The Java version of this repo can be found here.