Closed RowanG1 closed 5 years ago
The fotoapparat works well for once off snapped images. If I use the fotoapparat in a timer, to snap images every 1 second, it causes problems- very sluggish.
problem solved: var runnable: Runnable = Runnable { takePhotoAndDoTask { //your completion handler startTimer() }
} } fun startTimer() { handler.postDelayed(runnable, 2000) }
The fotoapparat works well for once off snapped images. If I use the fotoapparat in a timer, to snap images every 1 second, it causes problems- very sluggish.