예제 #1
0
 protected override void ResolveNormalVideoShow(View oldF, ViewGroup vp, GSYVideoPlayer gsyVideoPlayer)
 {
     try
     {
         LandLayoutVideo landLayoutVideo = (LandLayoutVideo)gsyVideoPlayer;
         landLayoutVideo.DismissProgressDialog();
         landLayoutVideo.DismissVolumeDialog();
         landLayoutVideo.DismissBrightnessDialog();
         base.ResolveNormalVideoShow(oldF, vp, gsyVideoPlayer);
     }
     catch (Java.Lang.Exception ex)
     {
         Log.Error("", ex.ToString());
     }
 }
        private void initView()
        {
            Toolbar toolbar = (Toolbar)FindViewById(Resource.Id.toolbar);

            detailPlayer = FindViewById <LandLayoutVideo>(Resource.Id.detail_player);
            root         = (CoordinatorLayout)FindViewById(Resource.Id.root_layout);

            SetSupportActionBar(toolbar);
            toolBarLayout       = (CollapsingToolbarLayout)FindViewById(Resource.Id.toolbar_layout);
            toolBarLayout.Title = "";//.setTitle(getTitle());

            fab = (FloatingActionButton)FindViewById(Resource.Id.fab);
            fab.SetOnClickListener(this);
            appBar = (AppBarLayout)FindViewById(Resource.Id.app_bar);
            appBar.AddOnOffsetChangedListener(appBarStateChangeListener);
        }
예제 #3
0
 public GDOnGestureListener(LandLayoutVideo model)
 {
     llVideo = model;
 }