Code example for Fragment

Methods: onConfigurationChanged

0
 */ 
public class BetaFragment 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,"BetaFragment: Creating Beta fragment");
		}catch (Exception ex){/*DO NOTHING*/}
		 
		View help = inflater.inflate(R.layout.beta, null, false);
Stop searching for code, let great code find you!  Add Codota to your java IDE