I have an AsyncTask
running. I have a TextView
that I mimic the message a Toast
initially produces.
I want to clear the TextView
Try something like:
((TextView) findViewById(R.id.textView2)).setText("");
EDIT:
try making a variable outside the onCreate
like TextView text;
and then inside the onCreate
put: text = (TextView) findViewById(R.id.textView2);
and then just put text.setText("");
inside the onPostExecute
method.
See if that works.