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

			SetContentView (Resource.Layout.activity_main);
			if (bundle == null) {
				FragmentTransaction transaction = FragmentManager.BeginTransaction ();
				var fragment = new PermissionRequestFragment ();
				transaction.Replace (Resource.Id.sample_content_fragment, fragment);
				transaction.Commit ();
			}
		}
Beispiel #2
0
        protected override void OnCreate(Bundle bundle)
        {
            base.OnCreate(bundle);

            SetContentView(Resource.Layout.activity_main);
            if (bundle == null)
            {
                FragmentTransaction transaction = FragmentManager.BeginTransaction();
                var fragment = new PermissionRequestFragment();
                transaction.Replace(Resource.Id.sample_content_fragment, fragment);
                transaction.Commit();
            }
        }
Beispiel #3
0
 public MyWebChromeClient(PermissionRequestFragment permissionRequestFragment)
 {
     permissionReqFrag = permissionRequestFragment;
 }
			public MyWebChromeClient (PermissionRequestFragment permissionRequestFragment)
			{
				permissionReqFrag = permissionRequestFragment;
			}