Code example for Fragment

Methods: onConfigurationChanged

0
 */ 
public class GetStartedFragment extends Fragment {
	@Override 
	public void onConfigurationChanged(Configuration newConfig) {
		// ignore orientation change 
		super.onConfigurationChanged(newConfig);
	} 
 
	/** 
	 * Activity creation 
	 */ 
	@Override 
	public View onCreateView(LayoutInflater inflater, ViewGroup container,
            Bundle savedInstanceState) {
		super.onCreateView(inflater, container, savedInstanceState);
		try{ 
			if (((Synodroid)getActivity().getApplication()).DEBUG) Log.v(Synodroid.DS_TAG,"GetStartedFragment: Creating Get Started fragment");
		}catch (Exception ex){/*DO NOTHING*/}
		 
		final FragmentActivity gsActivity = this.getActivity();
		View gs = inflater.inflate(R.layout.get_started, null, false);