Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.commoncentsapps.utils;
- import java.util.Comparator;
- public class Location extends android.location.Location {
- private double latitude;
- private double longitude;
- public Location(android.location.Location location){
- super(location);
- // TODO Auto-generated constructor stub
- }
- public Location(String provider) {
- super(provider);
- // TODO Auto-generated constructor stub
- }
- public Location(double latitude, double longitude) {
- super("FIXED");
- this.setLatitude(latitude);
- this.setLongitude(longitude);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement