I want to display adress on marker clicked on the android map. I used GeoCoder for getting adress but OnMapLongClick function doesn't have lat,long parameters. It's parameter is (LatLng latlng). My code below ;

```
@Override
public void onMapLongClick(LatLng latLng) {

    Geocoder geoCoder = new Geocoder(
            getBaseContext(), Locale.getDefault());
    try {
        List<Address> addresses = geoCoder.getFromLocation(lat, lng, 1);

        if (addresses.size() > 0) {
            for (int index = 0;
                 index < addresses.get(0).getMaxAddressLineIndex(); index++)
                filterAddress += addresses.get(0).getAddressLine(index) + " ";

        }
    }catch (IOException ex) {
        ex.printStackTrace();
    }catch (Exception e2) {
        // TODO: handle exception

        e2.printStackTrace();
    }

    googleMap.addMarker(new MarkerOptions().position(latLng).title(filterAddress)).showInfoWindow();

    markerClicked = false;
}

```

How can I parse or how can i convert latlng object to lat, lng parameters?