/* (non-Javadoc) * @see android.app.Activity#onCreate(android.os.Bundle) */ protected override void OnCreate(Bundle savedInstanceState) { base.OnCreate(savedInstanceState); mHelper = new SlidingActivityHelper(this); mHelper.OnCreate(savedInstanceState); ListView listView = new ListView(this); listView.Id = Android.Resource.Id.List; SetContentView(listView); }
/* (non-Javadoc) * @see android.support.v4.app.FragmentActivity#onCreate(android.os.Bundle) */ protected override void OnCreate(Bundle savedInstanceState) { base.OnCreate(savedInstanceState); mHelper = new SlidingActivityHelper(this); mHelper.OnCreate(savedInstanceState); }