The conundrum on Android is that user code can't block in a UI thread and
non-UI threads can't manipulate the UI.

I can image that some code is just written so procedurally that blocking
Alert calls is the straight-forward way to do it. On the other hand,
breaking down a long procedure into shorter methods usually solves the
problem. Perhaps if someone could write a coroutine library for Android we
wouldn't have to explain this over and over and developers who want to or
have to write long blockable procedures will be happy.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to