Check out example codes for "place.getlatlng() returning null". It will help you in understanding the concepts better.

Code Example 1

autocompleteFragment.setPlaceFields(Arrays.asList(Place.Field.LAT_LNG, Place.Field.ID, Place.Field.NAME));

Learn ReactJs, React Native from akashmittal.com