Skip to content
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

5초 카운트 타이머 촬영 #9

Closed
ing03201 opened this issue Aug 16, 2024 · 6 comments
Closed

5초 카운트 타이머 촬영 #9

ing03201 opened this issue Aug 16, 2024 · 6 comments
Labels
feature/external feature-external New Implementation New feature
Milestone

Comments

@ing03201
Copy link
Member

[Descriptions]

  • 기초 카메라 촬영 기능 개발
  • 5초 카운트 후 촬영 + 촬영 버튼
@ing03201 ing03201 added the New Implementation New feature label Aug 16, 2024
@ing03201 ing03201 added this to the Phase 1 milestone Aug 16, 2024
@ing03201 ing03201 self-assigned this Aug 16, 2024
@ing03201
Copy link
Member Author

@ing03201
Copy link
Member Author

            viewModelScope.launch {
                delay(1000L)
                val counter = object : CountDownTimer(time, 5000) {
                    override fun onTick(millisUntilFinished: Long) {
                        captureAndSave(context)
                    }

                    override fun onFinish() {
                        this.cancel()
                    }
                }
            }

@DokySp DokySp added feature/external feature-external New Implementation New feature and removed New Implementation New feature labels Sep 24, 2024
@DokySp DokySp modified the milestones: Phase 1, Phase 2 Sep 24, 2024
@DokySp
Copy link
Member

DokySp commented Oct 3, 2024

ViewModel에 아래와 같이 코드를 구성하면 쉽게 해결될 것 같습니다.

for (i in 0..5){
    delay(1000)
    // UI쪽 변수에 emit()
}

ing03201 added a commit to ing03201/FourCutTogether that referenced this issue Oct 5, 2024
ing03201 added a commit to ing03201/FourCutTogether that referenced this issue Oct 5, 2024
ing03201 added a commit that referenced this issue Oct 6, 2024
@ing03201
Copy link
Member Author

ing03201 commented Oct 10, 2024

capture 통신과 Internal camera의 경우 다르게 구현해야하므로 hold

@DokySp
Copy link
Member

DokySp commented Oct 11, 2024

phase3로 이동합니다

@DokySp DokySp modified the milestones: Phase 2, Phase 3 Oct 11, 2024
@fetiu fetiu mentioned this issue Nov 12, 2024
3 tasks
@fetiu fetiu closed this as completed Nov 12, 2024
@DokySp
Copy link
Member

DokySp commented Nov 12, 2024

#110 #45 로 나누어 처리

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature/external feature-external New Implementation New feature
Projects
None yet
Development

No branches or pull requests

3 participants