- Популярные видео
- Авто
- Видео-блоги
- ДТП, аварии
- Для маленьких
- Еда, напитки
- Животные
- Закон и право
- Знаменитости
- Игры
- Искусство
- Комедии
- Красота, мода
- Кулинария, рецепты
- Люди
- Мото
- Музыка
- Мультфильмы
- Наука, технологии
- Новости
- Образование
- Политика
- Праздники
- Приколы
- Природа
- Происшествия
- Путешествия
- Развлечения
- Ржач
- Семья
- Сериалы
- Спорт
- Стиль жизни
- ТВ передачи
- Танцы
- Технологии
- Товары
- Ужасы
- Фильмы
- Шоу-бизнес
- Юмор
Persistent Timer Android Studio Kotlin Tutorial | Background Stopwatch
How to build stop watch timer that keeps counting even if the app is closed in Android Studio & Kotlin.
We will use shared preferences to store the timer start time, timer stop time and a boolean whether the timer is counting. Being saved in shared preferences means that when the app is closed the values are remembered when the app is opened again.
Based of these three variables we can then deduct what the time should be on the timer.
Source Code:
https://github.com/codeWithCal/PersitentTimerAndroid
⏱️ TIMESTAMPS ⏱️
00:00 - Intro Persistent Timer App
00:38 - Build Gradle Enable View Binding
00:48 - Timer Layout XML
02:18 - Data Helper Share Preferences Helper Class
05:57 - Stopwatch Main Activity Kotlin
11:20 - Background Timer Demonstration
#AndroidStudio #KotlinProgramming
Видео Persistent Timer Android Studio Kotlin Tutorial | Background Stopwatch канала Code With Cal
We will use shared preferences to store the timer start time, timer stop time and a boolean whether the timer is counting. Being saved in shared preferences means that when the app is closed the values are remembered when the app is opened again.
Based of these three variables we can then deduct what the time should be on the timer.
Source Code:
https://github.com/codeWithCal/PersitentTimerAndroid
⏱️ TIMESTAMPS ⏱️
00:00 - Intro Persistent Timer App
00:38 - Build Gradle Enable View Binding
00:48 - Timer Layout XML
02:18 - Data Helper Share Preferences Helper Class
05:57 - Stopwatch Main Activity Kotlin
11:20 - Background Timer Demonstration
#AndroidStudio #KotlinProgramming
Видео Persistent Timer Android Studio Kotlin Tutorial | Background Stopwatch канала Code With Cal
tutorial programming coding example android studio program code app development developer software indie how to basic simple education build create apps easy follow beginner friendly make learn kotlin timer time count background minute second hours hour minutes counting up from zero stop watch timing timed sec min one two counted times timar run screen back gorund continue kotlen timere Timer App Timed counter start reset pause material design shared preferences shared preferences 2022
Комментарии отсутствуют
Информация о видео
16 марта 2022 г. 10:07:43
00:12:25
Другие видео канала





















