[mono-android] Threading with Rotation
emalamisura
eric.malamisura at gmail.com
Wed Nov 16 13:10:50 EST 2011
A common issue with maintaining state is handling Rotation with multiple
threads in Android. For instance if you start a thread, and then rotate the
phone before the thread is done with its work Android destroys the previous
Activity and generates a new one. Any references you had to your previous
activity will cause a reference exception. This becomes even more difficult
to handle in MonoDroid because alot of the semantics used in Java such as
using an internal static class inside your activity can't easily be
reproduced in C#, do you have any suggestions for a good way of handling
this?
--
View this message in context: http://mono-for-android.1047100.n5.nabble.com/Threading-with-Rotation-tp4998596p4998596.html
Sent from the Mono for Android mailing list archive at Nabble.com.
More information about the Monodroid
mailing list