protected override void OnCreate(Bundle bundle)
        {
            base.OnCreate (bundle);

            SetContentView (Resource.Layout.Dashboard);

            studentID = Intent.Extras.GetString ("studentID");

            mDrawerLayout = FindViewById<DrawerLayout> (Resource.Id.dashboardDrawer);
            mToolbar = FindViewById<SupportToolbar> (Resource.Id.toolbar);

            // Set up the fragments
            mFriends = new FriendsFragment();
            mProfile = new ProfilePageFragment ();
            mBed = new AccommodationFragment ();
            mHousemate = new FindHousemateFragment ();

            // Set up userIdHolder
            userIDHolder = new Bundle();
            userIDHolder.PutString("studentID", studentID);
            mProfile.Arguments = userIDHolder;
            mFriends.Arguments = userIDHolder;
            mBed.Arguments = userIDHolder;
            mHousemate.Arguments = userIDHolder;

            // Sets up the toggle for the dashboard drawer.
            mDashboardToggle = new DashboardToggle (this, mDrawerLayout, Resource.String.menu_title, mCurrentViewTitle);
            mDrawerLayout.SetDrawerListener (mDashboardToggle);

            // Displays the custom action bar.
            DisplayToolbar (bundle);

            mDashboardToggle.SyncState();

            // Controls the dashboard.
            InflateDashboard();
        }
        protected override void OnCreate(Bundle bundle)
        {
            base.OnCreate(bundle);

            SetContentView(Resource.Layout.Dashboard);

            studentID = Intent.Extras.GetString("studentID");

            mDrawerLayout = FindViewById <DrawerLayout> (Resource.Id.dashboardDrawer);
            mToolbar      = FindViewById <SupportToolbar> (Resource.Id.toolbar);

            // Set up the fragments
            mFriends   = new FriendsFragment();
            mProfile   = new ProfilePageFragment();
            mBed       = new AccommodationFragment();
            mHousemate = new FindHousemateFragment();

            // Set up userIdHolder
            userIDHolder = new Bundle();
            userIDHolder.PutString("studentID", studentID);
            mProfile.Arguments   = userIDHolder;
            mFriends.Arguments   = userIDHolder;
            mBed.Arguments       = userIDHolder;
            mHousemate.Arguments = userIDHolder;

            // Sets up the toggle for the dashboard drawer.
            mDashboardToggle = new DashboardToggle(this, mDrawerLayout, Resource.String.menu_title, mCurrentViewTitle);
            mDrawerLayout.SetDrawerListener(mDashboardToggle);

            // Displays the custom action bar.
            DisplayToolbar(bundle);

            mDashboardToggle.SyncState();

            // Controls the dashboard.
            InflateDashboard();
        }