Android docs on Looper
are not clear in stating whether we shall use Looper
or not. I have seen many places saying not to use Looper
with Handler
, but to use AsyncTask
or some similar non-main thread methodology.
So shall we ever use Looper
or not?
If yes, when me have to use it (not must or should)? Only when passing UI update message from the thread to the main thread or there are some other cases as well?