I currently have a remote service that gets the current location of users (it all works fine). Now I want to get the current location of users, and then add the list to previous locations. Here is my helpl file where I have a problem:
import android.location.Location;
import java.util.ArrayList;
interface ILocationService {
Location getCurrentLocation();
ArrayList<Location> getAllLocations();
}
Any help would be greatly appreciated. Thank.
source
share