What am I trying to achieve or the steps to reproduce?
I have been trying to update camera configuration. But it was not updating when I used JAVA codes. But working fine with kotlin. Tested on you Sample app also.
and update using
fotoapparat.updateConfiguration(UpdateConfiguration.builder().flash(on()).build());
this seems not to be working. As the parameters are not updated. I tried to change the photoResolution() also. But parameters are not updated. They are same as the way I initialized them.
but bellow is working fine
fotoapparat.updateConfiguration(configuration.builder().flash(on()).build());
What did I expect?
I expected that
fotoapparat.updateConfiguration(UpdateConfiguration.builder().flash(on()).build());
this code would work perfectly on JAVA as it is working fine in kotlin.
What am I trying to achieve or the steps to reproduce?
I have been trying to update camera configuration. But it was not updating when I used JAVA codes. But working fine with kotlin. Tested on you Sample app also.
How did I initialize FA?
and update using
fotoapparat.updateConfiguration(UpdateConfiguration.builder().flash(on()).build());
this seems not to be working. As the parameters are not updated. I tried to change the photoResolution() also. But parameters are not updated. They are same as the way I initialized them. but bellow is working finefotoapparat.updateConfiguration(configuration.builder().flash(on()).build());
What did I expect?
I expected that
fotoapparat.updateConfiguration(UpdateConfiguration.builder().flash(on()).build());
this code would work perfectly on JAVA as it is working fine in kotlin.Context:
Many thanks for making such a good Camera Library