Skip to content

Instantly share code, notes, and snippets.

@nishantt12
Created September 6, 2017 05:47
Show Gist options
  • Save nishantt12/dfd2892db40998eba3749a3b71fb8df3 to your computer and use it in GitHub Desktop.
Save nishantt12/dfd2892db40998eba3749a3b71fb8df3 to your computer and use it in GitHub Desktop.
public class PathSenseReceiver extends PathsenseInVehicleLocationUpdateReceiver {
@Override
protected void onInVehicleLocationUpdate(Context context, PathsenseInVehicleLocation pathsenseInVehicleLocation) {
L.e("onInVehicleLocationUpdate");
EventBus.getDefault().postSticky(pathsenseInVehicleLocation);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment