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