Thursday, January 6, 2011

[android-developers] java/locationlistener

Quick question, kind of java related I think, too. If you have a locationlistener mListener, and install it with "requestLocationUpdates". Lets say you assign a new LocationListener to mListener and install it again, is the previous one going to go away (garbage collected)? In C I would just delete one and allocate a new one. What's the best way in java+android?

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate