-
Notifications
You must be signed in to change notification settings - Fork 1
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
[feat] 추천 뷰 구현 #24
[feat] 추천 뷰 구현 #24
Conversation
# Conflicts: # app/src/main/res/drawable/shape_border_radius_2.xml # app/src/main/res/values/strings.xml
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.
너무너무 고생 많으셨습니다 ㅜ
지금 구현 안 된 기능 + 코드리뷰 반영 해주시고 전체적으로 고정 dp 주신 부분들만 수정 해주시면 좋을 것 같아요!
서버 통신을 아주 야무지게 해주셨네요 크크
그리고 지금 바텀 시트에 배경 색이 지정되어 있지 않은데 그 부분만 한 번 더 확인 부탁드려요
전체적으로 수정 하고 저 다시 리뷰어로 지정해 주세요
이제 합세가 거의 끝나가는데요 !! 열심히 해주셔서 너무너무 감사합니당 ㅋㅋ
recommendForYouProducts = this.forYouList.map { it.toRecommendForYouProductModel() }, | ||
recommendJustDroppedProducts = this.justDropList.map { it.toRecommendJustDroppedProductModel() }, |
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.
개인적으로는 it을 그대로 사용하는 것보다 네이밍을 해주고 사용하는 것을 선호하는 편이지만 갠취니까 그냥 참고만 해주세요 ~
@@ -0,0 +1,8 @@ | |||
package org.sopt.kream.domain.model | |||
|
|||
import androidx.annotation.DrawableRes |
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.
Domain Layer는 순수 코틀린 파일만 있어야 합니다 (다른 라이브러리에 의존성 X) 이런 식으로 구현하면 androix 라이브러리에 의존성이 있는 상태가 되니 해당 파일은 presentation 으로 이동시키는 게 클린 아키텍처에 더 부합 할 것 같숩니당!
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.
뷰홀더랑 네이밍 맞추는 편이 좋을 것 같습니다 ~
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.
헉 네이밍 바꾸면서 이걸 놓쳤네요😅 감사합니다!!
holder: RecommendCircleMenuViewHolder, | ||
position: Int, | ||
) { | ||
holder.onBind(item.get(position).menu) |
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.
holder.onBind(item.get(position).menu) | |
holder.onBind(item[position].menu) |
그리고 이거 이미지 디쟌 측에서 추가해주시면 menu만 넘기는 게 아니라 그냥 아이템 객체 자체를 넘겨야 할 것 같숩니다
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 | ||
android:id="@+id/tab_kream_indicator" |
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.
android:id="@+id/tab_kream_indicator" | |
android:id="@+id/include_recommend_kream_indicator" |
private val binding: ItemRecommendJustDroppedProductBinding, | ||
private val navigateToProductDetail: (Int) -> Unit, | ||
) : RecyclerView.ViewHolder(binding.root) { | ||
private var recommendJustDroppedAdapter: RecommendJustDroppedAdapter = RecommendJustDroppedAdapter(navigateToProductDetail) |
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.
사용하지 않는다면 지워줍시다
InstagramModel( | ||
image = R.drawable.img_recommend_style_01, | ||
id = "@zzz.myam", | ||
), | ||
InstagramModel( | ||
image = R.drawable.img_recommend_style_01, | ||
id = "@zzz.myam", | ||
), | ||
InstagramModel( | ||
image = R.drawable.img_recommend_style_01, | ||
id = "@zzz.myam", | ||
), | ||
InstagramModel( | ||
image = R.drawable.img_recommend_style_01, | ||
id = "@zzz.myam", | ||
), | ||
InstagramModel( | ||
image = R.drawable.img_recommend_style_01, | ||
id = "@zzz.myam", | ||
), |
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.
얘네는 스트링 추출해 주셔도 좋을 것 같네요
<androidx.constraintlayout.widget.ConstraintLayout | ||
android:id="@+id/cl_recommend_for_you_more" | ||
android:layout_width="0dp" | ||
android:layout_height="44dp" |
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.
고정 dp 주지 마세요
android:id="@+id/iv_recommend_for_you_more" | ||
android:layout_width="30dp" | ||
android:layout_height="0dp" | ||
android:layout_marginStart="7dp" |
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.
여기도 고정 값 준 거 다 지워주세요
# Conflicts: # app/src/main/java/org/sopt/kream/data/datasource/ProductRemoteDataSource.kt # app/src/main/java/org/sopt/kream/data/datasourceimpl/ProductRemoteDataSourceImpl.kt # app/src/main/java/org/sopt/kream/data/repository/ProductRepositoryImpl.kt # app/src/main/java/org/sopt/kream/data/service/ProductService.kt # app/src/main/java/org/sopt/kream/domain/repository/ProductRepository.kt # app/src/main/java/org/sopt/kream/presentation/common/ViewModelFactory.kt # app/src/main/res/drawable/shape_border_radius_8.xml # app/src/main/res/values/strings.xml
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.
머지하셔요 ~
Related issue 🛠
Work Description ✏️
Screenshot 📸
Screen_Recording_20240523_175556_KREAM-Android.mp4
Uncompleted Tasks 😅
To Reviewers 📢