I am very much looking forward to Mark's writeup. I think that the theory is sound, but that it is ugly to pass in the wake lock in practice. I use a static member for that and it makes my eyes bleed. And it makes it harder to handle cases where start is called more than once.
On Sat, Mar 28, 2009 at 2:53 AM, Dianne Hackborn <[email protected]>wrote: > On Fri, Mar 27, 2009 at 5:03 PM, Mark Murphy <[email protected]>wrote: > >> You ain't just whistlin' "Dixie" -- it took me a while to figure out how >> to implement it, and that was even *after* you described the pattern. >> Heaven help me if I'd've been trying to noodle that out independently. > > > Yeah this needs to be improved. A lot of the standard platform > applications have had bugs in this area in one form or another, too. > > -- > Dianne Hackborn > Android framework engineer > [email protected] > > Note: please don't send private questions to me, as I don't have time to > provide private support. All such questions should be posted on public > forums, where I and others can see and answer them. > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

