How to do View.PostDelayed in android annotation , is it same as @Background(delay = 1000)
?
Asked
Active
Viewed 114 times
0

Zulqurnain Jutt
- 1,083
- 3
- 15
- 41
-
?? hello any help ? appreciated ! – Zulqurnain Jutt Aug 22 '16 at 21:00
1 Answers
2
@UiThread(delay = 1000)
You should read the documentation. @Background
will execute the method on a background thread, while @UiThread
will run it on the UI (main) thread.
https://github.com/excilys/androidannotations/wiki/WorkingWithThreads#uithread

WonderCsabo
- 11,947
- 13
- 63
- 105