Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Delay in @Background #332

Closed
pyricau opened this Issue Oct 5, 2012 · 5 comments

Comments

Projects
None yet
5 participants
Contributor

pyricau commented Oct 5, 2012

@UiThread may have a delay param :

@UiThread(delay=2000)
void doInUiThreadAfterTwoSeconds() {
}

We could do the same thing for @Background :

@Background(delay=2000)
void doInBackgroundAfterTwoSeconds() {
}
Owner

dodgex commented Jan 12, 2013

Would love to see that.

Contributor

mathieuboniface commented Jan 12, 2013

I've just planned it for 3.0 :)

Contributor

yDelouis commented Apr 17, 2013

I think this issue can be closed since my PR has been merged.

Contributor

mathieuboniface commented Apr 17, 2013

We need to document this new parameter on the wiki : https://github.com/excilys/androidannotations/wiki/WorkingWithThreads

But we will do this just before the 3.0 release and this issue will be closed at this time.

Contributor

DayS commented Jul 12, 2013

Already documented :) I'm closing this one

@DayS DayS closed this Jul 12, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment