I'm making now googleMap Fragment.
@Override
public void onMapReady(GoogleMap googleMap) {
MapsInitializer.initialize(getContext());
mGoogleMap = googleMap;
googleMap.setMapType(GoogleMap.MAP_TYPE_NORMAL);
googleMap.addMarker();
...
}
But in this code, getContext is available for API 23 or more. Is there a method instead getContext??