![]() ![]() When creating a CountDownTimer to use, the onTick(long) and onFinish() methods will be overriden.The CountDownTimer has a start() method to begin the timer and a cancel() method to end the timer. ![]() The second argument in the constructor, long countDownInternal, is the interval (in milliseconds) when the onTick(long) callback will be triggered. ![]() The first argument in the constructor, long millisInFuture, is the number of milliseconds in the future after the count down timer is started (using the start() method) that the timer will expire and trigger the onFinish() callback. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |