protected override void OnCreate(Bundle savedInstanceState)
        {

            base.OnCreate(savedInstanceState);

            // Create your application here
            SetContentView(Resource.Layout.CourseActivity);

            _courseManager = new CourseManager();
            _courseManager.MoveFirst();

            _coursePagerAdapter = new CoursePagerAdapter(SupportFragmentManager, _courseManager);

            _viewPager = FindViewById<ViewPager>(Resource.Id.coursePager);
            _viewPager.Adapter = _coursePagerAdapter;

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

            // Set our view from the "main" layout resource
            SetContentView(Resource.Layout.Main);

            // Get our buttons and text views from the layout resource,
            btnPrev = FindViewById<Button>(Resource.Id.btnPrev);
            btnNext = FindViewById<Button>(Resource.Id.btnNext);
            txtTitle = FindViewById<TextView>(Resource.Id.txtTitle);
            imgCourse = FindViewById<ImageView>(Resource.Id.imgCourse);
            txtDescription = FindViewById<TextView>(Resource.Id.txtDescription);

            // and attach an event to it
            btnPrev.Click += BtnPrev_Click;
            btnNext.Click += BtnNext_Click;

            courseManager = new CourseManager();
            courseManager.MoveFirst();
            UpdateUI();
        }