Skip to main content
Filter by
Sorted by
Tagged with
-1 votes
1 answer
52 views

I have an e commerce app in which I have a list of elements which comes from backend, each item has its expiration duration like (5 minutes) for showing discount. Each time I call api, it sends me ...
nasibeyyubov's user avatar
  • 2,810
1 vote
1 answer
62 views

The problem: if I smash the button, I ended up with multiple timers. lateinit var timer1: CountDownTimer ... Button(onClick = { timer1 = object: CountDownTimer(20000000, 1000) { ...
rivercity's user avatar
  • 386
0 votes
2 answers
53 views

This code works fine for displaying the timer, when i open it after the browser is loaded properly, in other words, if i open my profile section first and wait for the browser to finish loading and ...
Sachin Kizhakkepurath's user avatar
0 votes
1 answer
83 views

I have a working circle timer in an expo snack. It's made up of 2 timers, when one finishes the next one starts and they go in loop. Each one has it's independent time. I would like to add an initial ...
Caquibf's user avatar
  • 59
1 vote
0 answers
65 views

export const timerWorker = () => { let timerStart = false; let intervalId = null; let timeLeft = 0; self.onmessage = (e) => { const { data = {} } = e; const {...
Atul Dwivedi's user avatar
0 votes
0 answers
35 views

I have a foreground service that works as a countdown timer for the upcoming prayer. I use canvas draw to add customized typeface. My problem is after about two minutes, the notification manager stops ...
Yasmine Raafat's user avatar
0 votes
1 answer
309 views

I need to implement a countdown timer in a Glance widget, that should be updated every second. At the bare minimum, every minute. What would be the best approach for this using Jetpack Compose Glance ...
Daniel Beleza's user avatar
0 votes
0 answers
37 views

I want to delete the output in the current line and then print in the same line again in Python. I'm basically creating a 25s timer with the format: Time remaining: The code that I've written works ...
Aabir Bhattacharya's user avatar
0 votes
0 answers
81 views

I am trying to make a CountDownTimer for my Android app, but every time I try to start it using just timer.start(), it starts multiple timers. I don't know why. My code for this is: fun DissapearSkip()...
tutel's user avatar
  • 1
0 votes
1 answer
136 views

Android 14, And Studio Hedgehog, the app records barometric pressure. To keep the app running (or appear to the user to run), the activity starts and binds to a dedicated background service. So far so ...
AlStu's user avatar
  • 1
0 votes
1 answer
93 views

In my below code have start the Timer in ngOnInit() and I want to stop the timer when user complete the test by clicking the completeTest() method, in below code I have set the notification for 1-1 ...
Vishal Lengare's user avatar
0 votes
1 answer
84 views

I'm building a bot that takes sound from a game, cross refrences it with a target sound, and if a target sound is detected does some actions. I have a timer that runs from the time I press "start&...
Chris Dk's user avatar
0 votes
1 answer
65 views

I need to make a puzzle game with timer. So it should start with start button or with dragging one of my elements to the second block (made with sortable). I have a working time function called 'timer'...
Nadia Den's user avatar
2 votes
2 answers
1k views

Can someone please help me make a countdown timer in JavaFX? I need the time to be taken from a label (the time is set by a slider) and I want to see the minutes and seconds remaining every second. ...
MsLaus's user avatar
  • 55
0 votes
1 answer
68 views

I have two tab in my fragment.In my recyclerview there are two viewtypes, those two viewtype populates on depending of press in chips.On create view it works fine. But when I come back from the second ...
Shahriar's user avatar
  • 162
0 votes
0 answers
53 views

I have an application that needs to display on an HTML-screen two countdown timers, one after the other, each countdown timer has its own duration taken from a database. This sequence of displaying ...
Aleg Moi's user avatar
-2 votes
1 answer
378 views

I want to implement a countdown timer, based on the current time and end time. For example: Current time: 20:30:30 End time always is : 23:59:59 -> I will implement a countdown timer as: 03:29:29
Lang Thang's user avatar
0 votes
2 answers
45 views

I'm trying to code a countdown timer showing the hours minutes and seconds remaining. I've been trying to set the time to 24h60min60s first and it was working perfectly. But since I'm trying with ...
Kay34io's user avatar
0 votes
2 answers
112 views

I am new to android development . I am trying to make a timer app . My UI has 11 buttons from 0-9 , a 00 button and a backspace button . The initial format of my textview will be like "00h 00m ...
codec123's user avatar
1 vote
1 answer
269 views

Currently creating a 25 minutes countdown timer with timing incrementing/decrementing buttons. I managed to create the timer and get it to work when pressing "Start" button, but I'm ...
Bob Marin's user avatar
1 vote
0 answers
166 views

I want to post some download links in wordpress. Those download links would be like this: https://exampaper.org/go/#https://karunya.edu When i click on Download button it should goto https://exampaper....
Siva Gangadhar's user avatar
0 votes
1 answer
2k views

Flutter how to run count down timer when the app is closed, I tried but timer each and every time starts from initial stage when I remove app from background
Poonam Kalra's user avatar
1 vote
0 answers
196 views

i'm creating a pomodoro timer chrome extension and i'm relatively new to programming. This js code from my focus_time page has issues with the play button...whenever you click play it resets the ...
7bld7's user avatar
  • 11
1 vote
1 answer
211 views

I've been practicing my count-down timers using Javascript and decided I wanted to try and automate it a bit. What I hope to happen is the user selects a date using a form input=date, and then that ...
Ruzzy100's user avatar
-2 votes
1 answer
42 views

I'm making a game where players guess a random number. If they answer fast, they get points. The game starts with entering names. A click on the button checks if names are filled in, pops a messagebox ...
Djonie's user avatar
  • 3
0 votes
1 answer
262 views

i am using android studio kotlin and i want to create a countdown timer for multiple activities. for example, i am doing a quiz and the timer is ticking and i make a multiple quiz question in multiple ...
Callee20's user avatar
0 votes
2 answers
335 views

I was making a simple fitness app which holds countdowntimer. but the problem is that countdowntimer shows negative values. it happens when it gets paused. progressBarExercise.progress = (...
Man Steel's user avatar
0 votes
0 answers
135 views

I tried to create a basic countdown timer android app using kotlin. My app works completely fine in the emulator. But in the device, it is getting stuck when the countdown timer reaches 1 second, it's ...
Ankan Sharma's user avatar
0 votes
1 answer
114 views

I want android countdown timer that run every 5th mins, If current time is 02:33 then timer should run automatically at 02:35 for 5 mins and then stop and start again at 02:40. here i want to pass Int ...
Ravi Dixit's user avatar
1 vote
0 answers
26 views

I have a function that is continuously looking for active services on the network with its name and port, but it is endless. I would like to know how to stop the execution after 30 seconds or ...
Víctor Martín's user avatar
0 votes
0 answers
542 views

I am struggling to create (and to find similar examples) of what I understand as a "background timer" on Robot Framework. My scenario is: I have a Test Case to Execute, and at a certain ...
SantoshRimu's user avatar
0 votes
2 answers
184 views

I am trying to create a countdown timer like in the image but I am not able to do it correctly. Could you please help me create this timer please? I tried to create the timer but couldn't. I am not ...
DecodeSK's user avatar
0 votes
0 answers
189 views

def timer(): for t in reversed(range(1, 11)): sleep(1) print(t) if foundAllLetters == True: break if remaining_attempts == 0: ...
Ella's user avatar
  • 1
0 votes
1 answer
53 views

I need to make a network request every 5 seconds to update a list with data. I'm thinking of the best way to do it in Android/Kotlin. I was advised to use CountDownTimer with onTick() and onFinish ...
Alex20280's user avatar
  • 385
-1 votes
1 answer
396 views

Hi everyone I'm building a countdown timer for my site but I'm having a problem when adding the code a new countdown timer is getting created every second, I think it's because I'm injecting my html ...
PattRana's user avatar
-1 votes
1 answer
1k views

I am just using NotifcationObserver in viewDidLoad NotificationCenter.default.addObserver(self, selector: #selector(backgroundRefreshStatusDidChange), name: UIApplication....
Muhammad Manzar's user avatar
-1 votes
1 answer
46 views

import schedule import time from datetime import datetime scheduleTime = input('Scheduled time: (00:00:00 format) ') def time_scheduler(): format = '%H:%M:%S' currentTime = datetime....
Mike's user avatar
  • 23
1 vote
1 answer
865 views

i created circular progress bar with the timer and a button to add +10sec to the timer. when i click on the button it is taking 1 sec delay in performing the animation progress bar. please help me to ...
5C6 purushotham Reddy's user avatar
-2 votes
1 answer
937 views

I am new in flutter. I am making a countdown timer app in flutter. The next thing I need to know that "How I can run my selected Countdown time in the background?" I had done this ...
danish Khawaja's user avatar
0 votes
1 answer
78 views

I need to show a same Countdown timer for all the time zones of USA. I am getting end date time ie.(Wed Nov 30 12:00:00 PST 2022, Wed Nov30 12:00:00 EST 2022, WedNov 30 12:00:00 MST 2022)as per time ...
user's user avatar
  • 461
0 votes
2 answers
876 views

I'm a bit stuck while implementing Android Timer Use Case which is supposed to return a Kotlin flow. The invoke() function of the use case takes LocalDateTime and should return Flow<String> with ...
Tonnie's user avatar
  • 8,650
0 votes
1 answer
138 views

import time import threading import random #declare variables and constant guessingelement = ["Hydrogen", "Magnesium", "Cobalt", "Mercury", "Aluminium"...
John's user avatar
  • 1
0 votes
1 answer
1k views

I am implementing Android countdown timer and need a functionality when user change the time zone, the timer should show same time in every time zone according to specific time zone like CST. I am ...
user's user avatar
  • 461
-1 votes
1 answer
188 views

I have an ongoing project and want to display a countdown before site lauch, how do I do this? Is it posible to load the main webpage when countdown == 0? How do I make the coundown component display ...
Brave's user avatar
  • 1
0 votes
1 answer
257 views

I'm trying to implement simple countdown timer inside fragment (without view model or use case). Here is my code: private fun startTimer(totalSeconds: Int): Flow<Int> = (totalSeconds - 1 ...
testivanivan's user avatar
  • 1,544
0 votes
1 answer
603 views

I am building a cart booking system. Since bookings can be from 1 hour to 6 hours, there must be a countdown timer using the time stored in the database. All booked carts are displayed in a table, ...
Haro's user avatar
  • 67
0 votes
0 answers
140 views

I am trying to create Online Spin Earning App. So i wish i set a timer in my app so when users Spin Life is ended a 24 hour timer will start and i want to create this using Firebase Server Side Timer ...
NK Developer's user avatar
0 votes
1 answer
118 views

I want to run it again after the end of setInterval, but after running it in Ajax, it starts showing strange numbers. It is clear in the picture below. When I run the page, setInterval works, but when ...
alex dev's user avatar
1 vote
2 answers
1k views

I build an android app Countdown Timer using Kotlin. When I start the timer using Coroutines it throws an error as follows. Need your help that: How I can handle or implement the Countdown Timer's ...
Ahmer Iqbal's user avatar
4 votes
1 answer
573 views

I have a string LiveData which is a generated identifier from one of my own methods. My problem is that I have a list in recyclerview and when a countdown timer finish, all of items of the ...
HeraGonz's user avatar
  • 355

1
2 3 4 5
34