I have a edittext which I am displaying inside a dialog, but later (before the dialog is closed) I am updating the value inside it but when I do this I can read the correct new value from .gettext() but the edittext is still empty, why?
This is my code:
public void setText(String url) {
response.setText("http://xxxx/" + url);
response.invalidate();
response.selectAll();
}
It feels like I’ve tried everything, searched for hours for a answer but nothing that I’ve tried has worked. 🙁
Is there any quick solution to this problem or do I really need to redraw the whole custom dialog?
If you look simply,
It all works fine,
This set of code works completely fine..there is no problem in there..Check it again.
You need to put your complete code here to let us know how you get this problem.