-
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
[ISSUE-31] 카카오 로그인 SDK 연동 #49
Conversation
Github Repository Secrets를 통해 환경 변수 파일을 생성
presentation/src/main/java/com/yapp/growth/presentation/ui/login/LoginActivity.kt
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.
고생많으셨습니다 :)
KakaoLoginButton { | ||
viewModel.requestLogin(this@LoginActivity) | ||
} |
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.
요부분에 onClick
파라미터 같이 첨부해줘서 가독성 올려주면 좋을 것 같습니당!
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.
164f160
그러게요 저도 이부분이 찜찜했는데 파라미터 추가해주는게 좋을 것 같아요!
fun startActivity(context: Context) { | ||
val intent = Intent(context, LoginActivity::class.java) | ||
context.startActivity(intent) | ||
} |
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.
혹시 LoginActivity
에서 바로 인텐트를 호출하는게 아니라, MainActivity
의 StartActivity
를 사용하는 특별한 이유가 있을까용 ?.?
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.
가독성 & 보일러 플레이트 라고 생각합니당
handleEvent(state) | ||
} | ||
} | ||
|
||
setContent { |
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.
작은 의견인데, 액티비티의 setContent
내에는 ???Screen()
식으로 끝내는건 어떨까요?
UI 관련 작업이 떨어져 있으면 가독성이 떨어질 수도 있을 것 같아요! (의견입니다)
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.
피드백 감사해용 👍
) | ||
|
||
Text( | ||
text = "카카오 로그인", |
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.
6c52b10
수정했습니다~
tint = Color.Unspecified | ||
) | ||
Text( | ||
modifier = Modifier.fillMaxWidth().padding(start = 6.dp), |
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.
Modifier
.fillMaxWidth()
.padding(start = 6.dp)
Modifier
는 요런식으로 통일하는건 어떨까용 ?.?
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.
수정했습니다~
|
||
|
||
@Composable | ||
fun TitleIconAndText() { |
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.
(의견임니다) 아이콘 + 플랜즈 + 친구들과 함께하는 약속잡기
요부분은 뭔가 앱을 소개하는 느낌인데, fun Introduce()
로 하나로 묶는건 어떨까용 ?.?
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.
a6006ab
좋은거 같아요 하나로 수정했습니다~!
/** | ||
* throws 있는 메소드는 | ||
* 사용할 때 에러 처리를 해주어야 합니다. | ||
* ex) runCatching { }, mapCatching { } | ||
* | ||
*/ |
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.
좋습니당 :) 👍👍👍👍👍
ISSUE
작업 내용
실행 화면
Check List
[ISSUE-{N}] PR 제목
으로 작성