I am using Toast in my app. When I am pressing a button, it is showing a Toast. My problem is that the second time I'm pressing on the button the second toast is "waiting" for the first one to end and only than it shows.. I want the current one to show immediately and not wait. This is my simple code:
toast = Toast.makeText(getApplicationContext(), "Press Back to retorn to the main page", Toast.LENGTH_SHORT);
toast.show();
how can I do that?