Exemplo n.º 1
0
        public static MirrorFragment NewInstance()
        {
            MirrorFragment fragment = new MirrorFragment();

            fragment.RetainInstance = true;
            return(fragment);
        }
Exemplo n.º 2
0
        protected override void OnCreate(Bundle bundle)
        {
            base.OnCreate(bundle);
            ActionBar.Hide();
            SetContentView(Resource.Layout.activity_camera);

            if (bundle == null)
            {
                FragmentManager.BeginTransaction().Replace(Resource.Id.container, MirrorFragment.NewInstance()).Commit();
            }
        }
Exemplo n.º 3
0
 public MirrorSurfaceTextureListener(MirrorFragment fragment)
 {
     Fragment = fragment;
 }