I have a case where the user needs to fill out a form, and in case of error I need to display an error. I am able to do this like this:
Toast.makeText(getApplicationContext(), "Sample Text TEEEEST :)", Toast.LENGTH_LONG).show();
But for some reason, after about 2 seconds, that text disappears. Is there a way to make it stay on the screen persistently?
Toast stays transient until defined interval. If you want something persistent.