-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/360 입장 확인 고도화 #363
Conversation
Test Results 9 files 9 suites 0s ⏱️ Results for commit 7af0d0f. ♻️ This comment has been updated with latest results. |
전면 카메라 전환 시연 영상은 부끄러워서 안 넣었어 |
presentation/src/main/java/com/nexters/boolti/presentation/QrScanActivity.kt
Outdated
Show resolved
Hide resolved
presentation/src/main/java/com/nexters/boolti/presentation/QrScanActivity.kt
Show resolved
Hide resolved
@@ -24,6 +30,7 @@ import kotlinx.coroutines.launch | |||
|
|||
@AndroidEntryPoint | |||
class QrScanActivity : ComponentActivity() { | |||
var isBackCamera = true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
이 속성을 여기서 관리했을 때 카메라 방향 싱크가 안 맞는 문제는 없을까?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
private fun switchCamera() {
barcodeView.pause()
isBackCamera = !isBackCamera
barcodeView.cameraSettings.requestedCameraId = if (isBackCamera) {
Camera.CameraInfo.CAMERA_FACING_BACK
} else {
Camera.CameraInfo.CAMERA_FACING_FRONT
}
barcodeView.resume()
}
지금 코드가 이렇게 되어 있고, 내 생각엔 없을 거 같긴 한데 혹시 더 좋은 방법이 있을까?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
전면 카메라로 시작되면 그럴 수 있으려나...
presentation/src/main/java/com/nexters/boolti/presentation/screen/qr/QrScanScreen.kt
Show resolved
Hide resolved
presentation/src/main/java/com/nexters/boolti/presentation/screen/qr/QrScanScreen.kt
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Issue
작업 내용
KakaoTalk_Video_2025-01-09-22-50-26.mp4