public void OnClick(IDialogInterface dialog, int which) { FragmentCompat.RequestPermissions(mParent, new string[] { Manifest.Permission.Camera }, Camera2BasicFragment.REQUEST_CAMERA_PERMISSION); } }