I have a very basic UI where i want the user to able to save the latitude and longitute of the location they want to set a geofence to. What I'm wondering is how do i get both latitude and longitude and convert it into latlng and then pass the value into my map activity into an array list.Any help would be greatly Appreciated.
ApprovedAreas = new ArrayList<>();
ApprovedAreas.add(new LatLng(37.4205940 ,-122.044 ));
ApprovedAreas.add(new LatLng(37.459979 ,-122.138770 ));
ApprovedAreas.add(new LatLng(37.4475940 ,-122.9044 ));