AsyncTask, must it take such a performance penalty hit…?

后端 未结 4 1930
借酒劲吻你
借酒劲吻你 2020-11-29 02:59

I\'m developing a small app that reads in specific html-pages, re-formats them and then shows them in a WebView. If I run my code in the GUI thread, the performance hit is c

4条回答
  •  萌比男神i
    2020-11-29 03:36

    AsyncTask runs at a lower priority to help making sure the UI thread will remain responsive.

提交回复
热议问题