On 2/8/2010 11:58 AM, Florian Lettner wrote:
afterwards connect() is called which uses the member variable, the
member has got its initial value again, like it is a different object.
Is it the inital value from a variable initialization?
(e.g. int variable = 0; )
If so, what I ran into is that the variable initialization is applied
*after* constructor methods or methods in the constructor are run (I'm
still somewhat puzzled by that behavior, but anyways).
So simply removing variable initialization fixed my problem.
Which might be different than yours, but worth a try :-)
Michael
--
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