-
Notifications
You must be signed in to change notification settings - Fork 2
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] 메인 지도 뷰 카드 구현 #40
Conversation
# Conflicts: # app/src/main/res/values/dimens.xml # app/src/main/res/values/strings.xml # app/src/main/res/values/themes.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.
굳 나중에 보겠습니다
@@ -0,0 +1,16 @@ | |||
package org.sopt.pingle.domain.model | |||
|
|||
data class PingleEntity( |
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.
저도 이 부분 알아보기 좀 힘들다구 느꼈어여ㅜ,ㅜ
) | ||
); | ||
|
||
companion object { |
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/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.
고생했어요🧡
@@ -0,0 +1,16 @@ | |||
package org.sopt.pingle.domain.model | |||
|
|||
data class PingleEntity( |
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.
카테고리 타입 쓰는 거 진짜 좋은 것 같아요
@@ -79,7 +83,20 @@ class MapFragment : BindingFragment<FragmentMapBinding>(R.layout.fragment_map), | |||
chipMapCategoryPlay.setChipCategoryType(CategoryType.PLAY) | |||
chipMapCategoryStudy.setChipCategoryType(CategoryType.STUDY) | |||
chipMapCategoryMulti.setChipCategoryType(CategoryType.MULTI) | |||
chipMapCategoryOthers.setChipCategoryType(CategoryType.OTHER) | |||
chipMapCategoryOthers.setChipCategoryType(CategoryType.OTHERS) |
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.
OTHERS로 다 바꾼거 완전 꼼꼼핑
textButtonText = stringOf(R.string.map_cancel_modal_text_button_text), | ||
clickBtn = { mapViewModel.cancelPingle() }, | ||
clickTextBtn = { }, | ||
onDialogClosed = { binding.cardMap.initLayout(mapViewModel.dummyPingle) } |
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.
프래그먼트 이런 식으로 쓰는거 진짜 깔끔하구 좋당..
@@ -38,10 +39,59 @@ class MapViewModel() : ViewModel() { | |||
) | |||
) | |||
|
|||
var dummyPingle = PingleEntity( |
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.
더미데이터 댕기욥다 ㅋㅅㅋ
import org.sopt.pingle.util.view.colorOf | ||
import org.sopt.pingle.util.view.stringOf | ||
|
||
@SuppressLint("CustomViewStyleable") |
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.
오호이 현재 프로젝트에 설정된 minSdkVersion 버젼 이후에 나온 API를 사용할때 warning을 없애고 사용할 수 있게 합니다.. 라고 하는데 그게 여기서 머길래 SuppressLint를 사용하신건가요?
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_marginStart="16dp" | ||
android:layout_marginTop="32dp" |
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.
dimen을 사용하지 않은 이유가 있는지 궁금합니다
Related issue 🛠
Work Description ✏️
Screenshot 📸
모집 중/참여 신청하지 않은 경우 -> 참여하기 -> 모집완료/참여 신청한 경우 -> 취소하기 -> 모집 중/참여 신청하지 않은 경우
Screen_recording_20240106_054625.mp4
모집 중/참여 신청한 경우 -> 취소하기 -> 모집 중/참여 신청하지 않은 경우
Screen_recording_20240106_055027.mp4
모집 완료/참여 신청하지 않은 경우
Uncompleted Tasks 😅
To Reviewers 📢