public static CameraFragment NewInstance() { CameraFragment fragment = new CameraFragment (); fragment.RetainInstance = true; return fragment; }
public Camera2BasicSurfaceTextureListener(CameraFragment fragment) { Fragment = fragment; }