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

后端 未结 4 1926
借酒劲吻你
借酒劲吻你 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条回答
  •  無奈伤痛
    2020-11-29 03:41

    u need to call final String str = fx.execute. you should not call doinbackground directly from ui thread.

提交回复
热议问题