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

[#1] 스플래시 화면 작성 #2

Merged
merged 2 commits into from
Sep 26, 2024
Merged

[#1] 스플래시 화면 작성 #2

merged 2 commits into from
Sep 26, 2024

Conversation

ksw4015
Copy link
Collaborator

@ksw4015 ksw4015 commented Sep 24, 2024

변경사항

  • SplashActivity를 추가하였습니다.
  • Manifest에서 Launcher Activity를 SplashActivity로 변경하였습니다.
  • Manifest에 위치 권한을 추가하였습니다.
  • SplashActivity에서 위치권한을 요청하는 부분을 추가하였습니다.

멘토님께

  • 기본적인 의존성(Retrofit, Hilt, Room)추가는 따로 PR에 담지 않았습니다.

@ksw4015 ksw4015 self-assigned this Sep 24, 2024
Copy link

@f-lab-Toru f-lab-Toru left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

코멘트 완료했습니다.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

영문 string이 없으면 아마도 안드로이드스튜디오에서 경고를 보낼 거 같은데 영문추가도 고려해 보시면 좋을 것 같아요.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

네 알겠습니다!


class SplashActivity : ComponentActivity() {

private val locationPermissionLauncher = registerForActivityResult(

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Permission grant 요청하는 부분을 액티비티에 넣는것보다는 뷰모델이나 다른 클래스에서 하는게 좀더 코드의 책임 측면에서 좋을 것 같은데 한번 리서치를 해보면 좋을거 같아요.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

네 알겠습니다. ViewModel을 만들지 말지 고민하다가 만들지 않았는데... Splash 화면에서 해야할 것들이 좀 더 있을거같아 만드는게 나을거같습니다. 감사합니다!

@ksw4015 ksw4015 merged commit c50b92a into main Sep 26, 2024
1 check failed
@ksw4015 ksw4015 deleted the feature/1 branch September 26, 2024 07:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants