I want to wait 5 seconds before starting another public void method. The thread sleep was not working for me. If there is a way of wait() without using Threads I wo
wait()
For import use : import android.os.Handler;
new Handler().postDelayed(new Runnable() { public void run() { // yourMethod(); } }, 5000); //5 seconds