0
如何在android註釋中執行View.PostDelayed,是否與@Background(delay = 1000)
相同?在Android註釋中實現View.PostDelayed
如何在android註釋中執行View.PostDelayed,是否與@Background(delay = 1000)
相同?在Android註釋中實現View.PostDelayed
@UiThread(delay = 1000)
您應該閱讀文檔。 @Background
將在後臺線程上執行該方法,而@UiThread
將在UI(主)線程上運行該方法。
https://github.com/excilys/androidannotations/wiki/WorkingWithThreads#uithread
?? ??你好,有幫助嗎?讚賞! –