Code example for FragmentActivity

1
package com.jeremyfeinstein.slidingmenu.lib.app; 
 
import android.os.Bundle; 
import android.support.v4.app.FragmentActivity; 
import android.view.KeyEvent; 
import android.view.View; 
import android.view.ViewGroup.LayoutParams; 
 
import com.jeremyfeinstein.slidingmenu.lib.SlidingMenu; 
 
public class SlidingFragmentActivity extends FragmentActivity implements SlidingActivityBase { 
 
	private SlidingActivityHelper mHelper;
 
	/* (non-Javadoc) 
	 * @see android.support.v4.app.FragmentActivity#onCreate(android.os.Bundle) 
	 */ 
	@Override 
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		mHelper = new SlidingActivityHelper(this);
		mHelper.onCreate(savedInstanceState);
	} 
 
	/* (non-Javadoc) 
	 * @see android.app.Activity#onPostCreate(android.os.Bundle)