If I put a CameraView in a RecyclerView, and then scroll away from it for more than a few seconds, when I scroll back it is gone (or at least the preview is no longer showing).
If you would like to do something like that you need to call Fotoapparat.stop and Fotoapparat.start each time camera view is detached and attached to layout.
If I put a CameraView in a RecyclerView, and then scroll away from it for more than a few seconds, when I scroll back it is gone (or at least the preview is no longer showing).