Android Open Source - Location On Location Changed Event






From Project

Back to project page Location.

License

The source code is released under:

MIT License

If you think the Android project Location listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.dsvoronin.location;
//w w w  .  ja v a 2 s .c o  m
import android.location.Location;

/**
 * EventBus event
 */
public class OnLocationChangedEvent {

    public Location location;

    public OnLocationChangedEvent(Location location) {
        this.location = location;
    }

    @Override
    public String toString() {
        return "OnLocationChangedEvent{" +
                "location=" + location +
                '}';
    }
}




Java Source Code List

com.dsvoronin.location.DistanceComparator.java
com.dsvoronin.location.LocationService.java
com.dsvoronin.location.Locationable.java
com.dsvoronin.location.OnLocationChangedEvent.java