Code example for SupportMapFragment

Methods: getMap, onCreateView

	public View onCreateView(LayoutInflater inflater, ViewGroup parent,
			Bundle savedInstanceState) {
		View v = super.onCreateView(inflater, parent, savedInstanceState);
		// Stash a reference to the GoogleMap 
		mGoogleMap = getMap();
		return v;
	public void onCreate(Bundle savedInstanceState) {
		// Check for a Run ID as an argument, and find the run 
		Bundle args = getArguments();
		if (args != null) {
			long runId = args.getLong(ARG_RUN_ID, -1);
Contextual code suggestions in your IDE  Get Codota for Java