I've tested my app on the Moto G7 Power and the Galaxy S9, and in both on them the setZoom method lags. The zoom starts to appear later and slowly. I'm using java, don't know if that can make it do that.
This is how I create the view:
private Fotoapparat createFotoapparat() {
return Fotoapparat
.with(this)
.into(cameraView)
.focusView(focusView)
.previewScaleType(ScaleType.CenterCrop)
.photoResolution(standardRatio(
highestResolution()
))
.previewResolution(highestResolution())
.previewFpsRange(highestFps())
.lensPosition(LensPositionSelectorsKt.back())
.focusMode(firstAvailable(
continuousFocusPicture(),
autoFocus(),
fixed()
))
.flash(firstAvailable(
autoRedEye(),
autoFlash(),
torch(),
off()
))
.previewFpsRange(highestFps())
.build();
}
I'm on the 2.7.0 version of the library
I've tested my app on the Moto G7 Power and the Galaxy S9, and in both on them the setZoom method lags. The zoom starts to appear later and slowly. I'm using java, don't know if that can make it do that.
This is how I create the view:
private Fotoapparat createFotoapparat() { return Fotoapparat .with(this) .into(cameraView) .focusView(focusView) .previewScaleType(ScaleType.CenterCrop) .photoResolution(standardRatio( highestResolution() )) .previewResolution(highestResolution()) .previewFpsRange(highestFps()) .lensPosition(LensPositionSelectorsKt.back()) .focusMode(firstAvailable( continuousFocusPicture(), autoFocus(), fixed() )) .flash(firstAvailable( autoRedEye(), autoFlash(), torch(), off() )) .previewFpsRange(highestFps()) .build(); } I'm on the 2.7.0 version of the library