Code example for SupportMapFragment

Methods: getArguments, getLoaderManager, onCreate

0
		return rf;
	} 
	 
	@Override 
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(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);
			if (runId != -1) {
				LoaderManager lm = getLoaderManager();
				lm.initLoader(LOAD_LOCATIONS, args, this);
			} 
		} 
	} 
	 
	@Override 
	public View onCreateView(LayoutInflater inflater, ViewGroup parent, Bundle savedInstanceState) {	
		View v = super.onCreateView(inflater, parent, savedInstanceState);
		// Stash a reference to the GoogleMap