Re: [android-developers] Android pattern for waiting on event

2010-09-20 Thread TreKing
On Mon, Sep 20, 2010 at 4:52 PM, DanH wrote: > What is the Android technique/pattern for effectively waiting on an event > in another thread? Eg, waiting for an onClicked in a dialog? > In general, I'd say you really don't want to "wait" as much as you want to "respond". This will also vary bas

[android-developers] Android pattern for waiting on event

2010-09-20 Thread DanH
What is the Android technique/pattern for effectively waiting on an event in another thread? Eg, waiting for an onClicked in a dialog? (I'm sure someone's going to tell me "Don't do that!!", so let's skip over that discussion entirely and instead discuss the ways of synchronizing between threads,