Answers for "android studio how to sleep for 3 seconds"

2

how to wait a few seconds in android studio

Handler handler = new Handler();
            handler.postDelayed(new Runnable() {
                public void run() {
                    // yourMethod();
                }
            }, 5000);   //5 seconds
Posted by: Guest on August-30-2020

Code answers related to "android studio how to sleep for 3 seconds"

Browse Popular Code Answers by Language