Hi guys, I want to trigger something after particu...
# android
k
Hi guys, I want to trigger something after particular time and cancel whenever required. For example I want to count number unlimited after 1 minute and stop whenever I want. Is there way in kotlin? Thanks
c
Don't fall into the trap of persistently asking questions on slack for things you haven't researched / google'd. Learning how to find answers is a very, very, important part of learning development. Try googling 'task scheduling kotlin', I'm fairly certain it'll bring back useful information. If you try things you'll be learning regardless of whether you're succeeding in your goal, as you will be becoming more familiar with more parts of kotlin.
💯 1
k
Thanks 🙏
❤️ 1
h
You can use Coroutines to achieve it
k
Yes I did it. Using Coroutines