-
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
[BSVR-223/FEAT] 시야 후기 등록 TAB 이동 및 SnackBar 추가 #107
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.
고생했어~ 민주야~ 🐿️🐿️🐿️🐿️
@@ -13,7 +13,7 @@ abstract class BindingBottomSheetDialog<B : ViewBinding>( | |||
private val bindingInflater: (LayoutInflater, ViewGroup?, Boolean) -> B, | |||
) : BottomSheetDialogFragment() { | |||
|
|||
private var _binding: B? = null | |||
var _binding: B? = null |
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.
이거 왜 private 제거한거야?
override fun onDestroyView() { | ||
super.onDestroyView() | ||
_binding = null | ||
} |
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.
요 함수 Base 추상 클래스에서 바인딩 해제해주고 있지 않나? 중복 코드같아~!
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.
아이고 이거 왜 여기있어 ..? private 제거된 이유도 이거 때문이네 복구해놓을게 ~
@@ -524,4 +622,23 @@ class SelectSeatDialog : BindingBottomSheetDialog<FragmentSelectSeatBottomSheetB | |||
} | |||
} | |||
} | |||
|
|||
private fun makeSpotImageAppbar(message: String, marginHorizontal: Int) { | |||
val parentView = requireDialog().window?.decorView?.findViewById<View>(android.R.id.content) |
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.
decorView를 사용한 이유가 있을까?
토스트 띄우는데 View 객체 넘겨주려면 아래 코드로 사용해도 좋을 것 같아
val parentView = binding.root.rootView
민주야 이게 두 번째 PR 이면 다왔는데, |
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.
확실히 자르면서 가니깐 리뷰하기도 더 좋아보이긴하네~!
민주 고생했어! 👍👍
messageColor = com.depromeet.designsystem.R.color.color_foreground_white, | ||
icon = com.depromeet.designsystem.R.drawable.ic_alert_circle, | ||
iconColor = com.depromeet.designsystem.R.color.color_error_secondary, | ||
marginHorizontal = marginHorizontal, |
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.
엇 혹시 marginBottom아니야..?!
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.
지금 qa 받구 있는데 추후에는 marginhorizontal을 삭제할 예정이야..!
(이미지 스낵바 같은경우 text 너비에 따른 wrap_content로 요구를 해서)
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.
SpotImageSnackBar는 추후에 균욱 오빠가 수정해준다고 해서 안건드리는 선에서 스낵바 text 너비에 따라 marginhorizontal dp를 설정해줬어 그럼 일단 marginHorizontal 파라미터 삭제해놓을겡 ~~
icon = com.depromeet.designsystem.R.drawable.ic_alert_circle, | ||
iconColor = com.depromeet.designsystem.R.color.color_error_secondary, | ||
marginBottom = 96, | ||
marginHorizontal = 26, |
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.
이부분도
93번 브랜치 이미지 스낵바
참고하면 좋을것 같아! 지금 아직 QA중이라😅
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.
아 그리구 messageColor, icon, iconColor가 이제 모든 뷰에서 동일한 디자인 시스템이 적용되는데 아예 파라미터 값을 안받게 설정하는게 좋으려나?
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.
tvNextBtn.visibility = VISIBLE | ||
tvSelectZone.setTextColor(binding.root.context.colorOf(com.depromeet.designsystem.R.color.color_foreground_heading)) | ||
tvSelectNumber.setTextColor(binding.root.context.colorOf(com.depromeet.designsystem.R.color.color_foreground_caption)) | ||
llTabSelectSeat.setOnSingleClickListener { |
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.
이 부분 진짜 노고가 느껴진다..
private var _binding: B? = null | ||
var _binding: B? = null |
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.
수고했엉~~~~이제 그만잘해~~~~
💻주요 작업 내용
🎞리뷰 요청 사항