Code example for SupportMapFragment

Methods: getActivity, onCreateView

0
	public TouchableWrapper mTouchView; 
 
	@Override 
	public View onCreateView(LayoutInflater inflater, ViewGroup parent, 
			Bundle savedInstanceState) { 
		mContentView = super.onCreateView(inflater, parent, savedInstanceState); 
		mTouchView = new TouchableWrapper(getActivity()); 
		mTouchView.addView(mContentView); 
		return mTouchView; 
	} 
 
	@Override 
	public View getView() { 
		return mContentView; 
	} 
}