Question : how to sleep time for some seconds in android
Answered by : sushant-kq5nzpnixh6k
(new Handler()).postDelayed(this::yourMethod, 5000);
Source : https://stackoverflow.com/questions/41664409/wait-for-5-seconds | Last Update : Thu, 23 Jun 22