-
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
[ADD/#1] 프로젝트 초기 세팅 #2
Conversation
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.
초기 세팅 너무 탄탄하게 잘 하셨네요,, 제 눈엔 완벽합니다😮
너무 고생 많으셨어요~👏 👏 👏 👏 👏 👏
우리 리드 최고!!
app/build.gradle.kts
Outdated
alias(libs.plugins.kotlin.android) | ||
alias(libs.plugins.hilt) | ||
id("kotlin-parcelize") | ||
id("kotlin-kapt") |
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.
이 부분은 ksp로 바꾸는 걸 고려해봐도 될 것 같아요!
ksp가 코틀린 기반이라 컴파일 시 더 효율적이라고 하네요
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.
꼼꼼하다,,,,!!! 링크이름너무웃겨요
fun toMockEntity(): List<MockResponseModel> = data.map { | ||
MockResponseModel( | ||
avatar = it.avatar, | ||
email = it.email, | ||
firstName = it.first_name, | ||
lastName = it.last_name | ||
) | ||
} |
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.
한 수 배워갑니다!
Scaffold( | ||
bottomBar = { | ||
MainBottomBar( | ||
isVisible = navigator.showBottomBar(), | ||
tabs = MainTab.entries.toList(), | ||
currentTab = navigator.currentTab, | ||
onTabSelected = navigator::navigate | ||
) | ||
}, |
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.
지금 세팅이 이 컴포저블에서만 바텀바를 관리하는거죠??
화면마다 바텀바에에 포함된 컴포저블의 route와 비교해서 있으면 바텀바를 보여주고 없으면 보여주지 않는 로직이 맞나요?
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.
맞습니다! 바텀바가 있어야 하는 화면은 MainTabRoute로, 바텀바가 없어야 하는 화면은 Route로 관리해주면 될 것 같아요!
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.
짱리드 네비게이션, 멀티모듈 + 힐트로 서버통신까지,,, 초기세팅하느라 수고많았습니다 ㅜㅜ 💙💙💙 너무든든해서코드만봐도배부르다.
Scaffold( | ||
bottomBar = { | ||
MainBottomBar( | ||
isVisible = navigator.showBottomBar(), | ||
tabs = MainTab.entries.toList(), | ||
currentTab = navigator.currentTab, | ||
onTabSelected = navigator::navigate | ||
) | ||
}, |
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.
깔끔 ㅠㅠ확인했습니당!
include(":domain") | ||
include(":core") |
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.
멀티모듈 진짜 수고해써요.... ㅜ ㅜ
@SerialName("per_page") | ||
val per_page: Int, | ||
@SerialName("total") | ||
val total: Int, | ||
@SerialName("total_pages") | ||
val total_pages: Int, | ||
@SerialName("data") | ||
val data: List<MockData>, | ||
@SerialName("support") | ||
val support: Support, |
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.
오호 이 부분은 제가 초기 세팅에 집중하느라 놓쳤네요ㅜㅜ! 카멜케이스로 뒀어야 합니다!
dummy 파일이기 때문에 추후에 지울 예정입니다!!
⛳️ Work Description
📸 Screenshot
Screen_Recording_20240629_053015_Terning-Android.mp4
📢 To Reviewers