I am planning to migrate camera api to camerax. Currently I am using SurfaceView to show the camera preview. I noticed that camerax is using PreviewView to show the camera preview. As this library is still in alpha stage, so what is the alternate for that?
I know that previewView internally using SurfaceView/TextureView.
How can I explicitly configure and use SurfaceView/TextureView?