Threads in Android | Perform a task after some seconds | Handler in Android Studio

preview_player
Показать описание
Handler helps us perform a task after some second. When we work on a real-world project, many times we need to wait for some time (for e.g. 5 sec) and then execute a function.
The video describes exactly that method.

Do like, share and subscriber and let us know your queries in comments below!
Рекомендации по теме
Комментарии
Автор

Hello. thank you for your video. how can i do the reverse action?
i wanna have a button and when i click it start an activity then after a while automatically stop the activity by the delay or stop first function and start another.

MohsenMashkour