search

Home  >  Q&A  >  body text

android - handler的sendMessage()和handleMessage()能不能都在主线程,如果可以,那这样做有必要么?

高洛峰高洛峰2772 days ago1706

reply all(11)I'll reply

  • PHP中文网

    PHP中文网2017-04-17 17:18:30

    The main thread is not necessary. You can use eventbus to send time and process the time

    reply
    0
  • Cancelreply