News for hackers. Stuff that matters.
Re:Multithreaded toolkits: A failed dream? (2004) by pjmlp on Monday November 02, 2015 @06:06AM (#10491167)
Those bizarre hacks help the service don't crash when the service needs to talk back to an activity that just got replaced between request/response cycle, because the user had the strange idea to rotate the phone.
Re:Multithreaded toolkits: A failed dream? (2004) by kllrnohj on Monday November 02, 2015 @10:23AM (#10492236)
If you had just used a static there'd be no need to talk to the activity directly. The bizarre hacks tend to arise because Java devs seem to consider static globals as icky.
Re:Multithreaded toolkits: A failed dream? (2004) by pjmlp on Monday November 02, 2015 @10:29AM (#10492281)
Global variables are icky, regardless of the language.