Difference between the main thread and UI thread

前端 未结 5 1672
醉梦人生
醉梦人生 2020-12-12 15:20

I\'m given to understand that both are the same. But I recently(a bit late to the party) came across android support annotations . The note in the same reads

5条回答
  •  被撕碎了的回忆
    2020-12-12 15:45

    The simplest example is: An Android Service runs on the Main thread but the Service does not have a User Interface. You cannot call the Main thread here as UI-Thread.

    Credits to Sqounk

提交回复
热议问题