Загрузка страницы

Countdown Timer with Start, Pause and Reset - Android Studio Tutorial

In this tutorial we will learn, how to build a simple countdown timer, which shows the remaining time in minutes and seconds. It will have a start/pause button and a reset button which is only visible, if the timer is not running. For this, we will use the CountDownTimer interface and override the onTick and onFinish methods. We will set it's time in milliseconds and format those milliseconds to minutes and seconds using the String.format method.

Watch the whole playlist:
https://www.youtube.com/playlist?list=PLrnPJCHvNZuB8wxqXCwKw2_NkyEmFwcSd

Code for this part:
https://gist.github.com/codinginflow/58fddb4dcdb35ce7a7ff78aaa607c6ee

____________________
⌨️ Watch me code LIVE on Twitch:
https://www.twitch.tv/florianwalther

📺 Watch all my previous Twitch streams:
https://www.youtube.com/channel/UCoAYgiwLuKgHbBHs7V6bc9w?sub_confirmation=1

⭐ Get my MVVM Caching Course now:
https://codinginflow.com/caching

📱 Check out my apps:
https://codinginflow.com/apps

❗ Subscribe to the channel:
https://www.youtube.com/c/codinginflow?sub_confirmation=1

💲 Earn money by becoming an affiliate for my courses:
https://codinginflow.com/affiliate

📨 Subscribe to the Coding in Flow newsletter:
https://codinginflow.com/newsletter

💻 Hire me for your next project:
https://codinginflow.com/contact

💚 Donate to Coding in Flow with a message:
https://paypal.me/codinginflow

❓ Ask your programming questions in our chat:
https://discord.gg/TSnMvmc

📣 Follow Coding in Flow on other sites:
Facebook: https://www.facebook.com/codinginflow
Instagram: https://www.instagram.com/codinginflow
TikTok: https://www.tiktok.com/@codinginflow
Twitter: https://twitter.com/codinginflow
Github: https://github.com/codinginflow

💰 Business requests, sponsoring, etc.: info@codinginflow.com

Видео Countdown Timer with Start, Pause and Reset - Android Studio Tutorial канала Coding in Flow
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
18 декабря 2017 г. 21:00:01
00:13:19
Яндекс.Метрика