Assuming that performSelectorOnMainThread
does what I think matters runOnUiThread()
in Activity
or post()
on Handler
or any of your Views
(i.e. GUI widgets).
Although I generally agree with alex's answer - use AsyncTask
where possible instead of deploying your own streams.
a source
to share