Code example for GoogleMap

Methods: animateCameragetMyLocation

        return mMap.getMyLocation();
    public void onMyLocationClickIgnored(AddressView sender) {
        LatLng latLng = Utils.locationToLatLng(mMap.getMyLocation());
        CameraUpdate update = CameraUpdateFactory.newLatLng(latLng);
    public void onMyLocationChange(Location newLocation) {
        mAddressView.setLocation(newLocation, false);
    public void setAddressView(AddressView addressView) {
        // We don't need to do anything here because we already have the fragment 
        // Ideally we would do something like "isPaused = addressFragment != null" 
        // and then don't call addressFragment.setLocation() when paused, but that's 
Contextual code suggestions in your IDE  Get Codota for Java