protected override void OnCreate(Bundle savedInstanceState)
        {
            base.OnCreate(savedInstanceState);
            SetContentView(Resource.Layout.layout_test_tab);//.test.layout.activity_main2);
            // Create your application here

            foreach (var item in mTitles)
            {
                if (item == "IOS")
                {
                    VideoIntroductionFragment mVideoIntroductionFragment = VideoIntroductionFragment.newInstance(1);
                    mFragments.Add(mVideoIntroductionFragment);
                }
                else
                {
                    mFragments.Add(SimpleCardFragment.getInstance(item));
                }
            }

            mSlidingTabLayout = FindViewById <SlidingTabLayout>(Resource.Id.tab_layout);
            mViewPager        = FindViewById <ViewPager>(Resource.Id.view_pager);


            mAdapter           = new MyPagerAdapter(SupportFragmentManager);
            mViewPager.Adapter = mAdapter;// SetAdapter(mAdapter);
            //mViewPager.OffscreenPageLimit = 2;// SetOffscreenPageLimit(2);
            mSlidingTabLayout.SetViewPager(mViewPager);
            MeasureTabLayoutTextWidth(0);
            //var vdaonpagechangeListenter = new VDA_OnPageChangeListener(this);
            mViewPager.AddOnPageChangeListener(this);
        }
        //    public static void Launch(Android.App.Activity activity, int aid, String imgUrl)
        //    {
        //        Intent intent = new Intent(activity, typeof(VideoDetailsActivity));//.class);
        //        intent.AddFlags(ActivityFlags.NewTask);//  Intent.FLAG_ACTIVITY_NEW_TASK);
        //        intent.PutExtra(ConstantUtil.EXTRA_AV, aid);
        //        intent.PutExtra(ConstantUtil.EXTRA_IMG_URL, imgUrl);
        //        activity.StartActivity(intent);
        //    }

        public void finishTask()
        {
            mFAB.Clickable = true;// setClickable(true);
            Color mFAB_color = new Color(Resource.Color.colorPrimary);

            mFAB.BackgroundTintList = ColorStateList.ValueOf(mFAB_color);
            //SetBackgroundTintList(
            //    ColorStateList.valueOf(getResources().getColor(R.color.colorPrimary)));
            mCollapsingToolbarLayout.Title = "";//.setTitle("");
            if (Android.Text.TextUtils.IsEmpty(imgUrl))
            {
                //Glide.with(VideoDetailsActivity.this)
                //        .load(mVideoDetailsInfo)
                //        .centerCrop()
                //        .diskCacheStrategy(DiskCacheStrategy.ALL)
                //        .placeholder(R.drawable.bili_default_image_tv)
                //        .dontAnimate()
                //        .into(mVideoPreview);
            }

            VideoIntroductionFragment mVideoIntroductionFragment = VideoIntroductionFragment.newInstance(av);
            //VideoCommentFragment mVideoCommentFragment = VideoCommentFragment.newInstance(av);
            var accountFragment = new FragmentAccount();
            var homeFragment    = new FragmentHome();

            fragments.Add(mVideoIntroductionFragment);
            fragments.Add(homeFragment);

            //SetPagerTitle(mVideoDetailsInfo.getData().getStat().getReply().ToString());//  String.valueOf(mVideoDetailsInfo.getStat().getReply()));
            SetPagerTitle("123");
        }
        public static VideoIntroductionFragment newInstance(int aid)
        {
            VideoIntroductionFragment fragment = new VideoIntroductionFragment();
            Bundle bundle = new Bundle();

            bundle.PutInt(ConstantUtil.EXTRA_AV, aid);
            //fragment.Arguments = bundle;// SetArguments(bundle);
            return(fragment);
        }