Open jeffreyfjohnson opened 5 years ago
I have the feeling that this is not a specific issue of fotoapparat. I just tried the official Camera2BasicKotlin sample and it has the same issue. The first click on the "picture" button is also not registered in the emulator when i tested it.
What are you trying to achieve or the steps to reproduce?
Emulator only In the activity where the
CameraView
is shown, on a Pixel 2 emulator running API 28, whenever theCameraView
is started and shown, the first click for anyView
on that screen is not registered. Not even the bottom buttons (back, home, recents) work on the first click.start
on theCamera
instance, this is not an issueCameraView
's visibility is set toGONE
orINVISIBLE
this is not an issueHow did you initialize FA?
Note that nothing changes if instead of using OnLifeCycleEvent annotations, we just call
start
andstop
on the camera in the ActivityContext: