Code example for Marker

Methods: getPositiongetSnippetgetTitleisInfoWindowShown

0
 
    @Override 
    protected void onSaveInstanceState(Bundle outState) {
        super.onSaveInstanceState(outState);
        if (mMarker != null) {
            outState.putParcelable("markerPosition", mMarker.getPosition());
            outState.putBoolean("isInfoWindowShown", mMarker.isInfoWindowShown());
            if (mMarker.getTitle() != null) {
                outState.putString("infoWindowTitle", mMarker.getTitle());
                outState.putString("infoWindowSnippet", mMarker.getSnippet());
            } 
        } 
    } 
 
} 
Experience pair programming with AI  Get Codota for Java