Пример #1
0
        public override void OnViewCreated(View view, Bundle savedInstanceState)
        {
            _mSlidingTabScrollView = view.FindViewById <SlidingTabScrollView>(Resource.Id.sliding_tabs);
            _mViewPager            = view.FindViewById <ViewPager>(Resource.Id.viewpager);
            _mViewPager.Adapter    = new SamplePagerAdapter();

            _mSlidingTabScrollView.ViewPager = _mViewPager;
        }
        public override void OnViewCreated(View view, Bundle savedInstanceState)
        {
            mSlidingTabScrollView = view.FindViewById <SlidingTabScrollView>(Resource.Id.sliding_tabs);
            mViewPager            = view.FindViewById <ViewPager>(Resource.Id.viewpager);
            editText           = view.FindViewById <EditText>(Resource.Id.editText);
            speak              = view.FindViewById <Button>(Resource.Id.speak);
            mViewPager.Adapter = new SamplePagerAdapter();

            mSlidingTabScrollView.ViewPager = mViewPager;
        }