In fact, I believe I've found a bug. After calling unbindService on an
active service connection, ServiceConnection.onServiceDisconnected is
never called. This means I can't tell when the service has been
destroyed. That makes for rather convoluted logic in trying to manage
the state of the CompoundButton. Without some flag to tell when the
service is destroyed, it's impossible to tell how soon I can rebind to
it and have it be in an unstarted state. In fact, I'd like to get an
event when the destroy is finished so I can rebind on that event. Is
that possible?

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

Reply via email to