Add onReset() to GeoBroker.

This commit is contained in:
Braden Shepherdson 2012-09-24 14:20:36 -04:00
parent 20c885418e
commit 6192319f8c

View File

@ -141,6 +141,14 @@ public class GeoBroker extends Plugin {
this.gpsListener = null;
}
/**
* Called when the view navigates.
* Stop the listeners.
*/
public void onReset() {
this.onDestroy();
}
public JSONObject returnLocationJSON(Location loc) {
JSONObject o = new JSONObject();