{ return mViewBinding?.tvCameraRender } // if you want offscreen render // please return null, the same as getCameraView() override fun getCameraViewContainer(): ViewGroup? { return mViewBinding?.container } // camera open status callback override fun onCameraState(self: ICamera, code: ...