Example #1
0
        protected override void OnCreate(Bundle bundle)
        {
            base.OnCreate(bundle);

            SetContentView(Resource.Layout.DrawerLayout);

            Position = Intent.GetIntExtra("index", 0); // Gets the current position

            DrawerSetup = new SetupDrawer(Position, this);

            DrawerSetup.Configure();
            DrawerSetup.DrawerToggleSetup();
            Content = FindViewById<FrameLayout>(Resource.Id.content_frame);
        }
Example #2
0
        protected override void OnCreate(Bundle bundle)
        {
            base.OnCreate (bundle);

            SetContentView(Resource.Layout.ActivityLayout);

            drawerSetup = new SetupDrawer (
                m_DrawerTitle,
                m_Title,
                m_Drawer,
                m_DrawerList,
                drawerPosition,
                this
            );

            drawerSetup.Configure ();
            drawerSetup.DrawerToggleSetup ();
            Content = FindViewById<FrameLayout>(Resource.Id.content_frame);
            // Create your application here
        }