Android : LocationClient removeLocationUpdates() before or after disconnect()

on Monday, October 13, 2014


When I get the requested location from the LocationClient.onLocationChanged(), is it better to



  1. call disconnect() and then in onDiconnected() to call removeLocationUpdates() or to

  2. call removeLocationUpdates() and disconnect() subsequently


?


0 comments:

Post a Comment