-
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
bugfix: 약관동의 다이얼로그 관련 qa 수정사항 반영 #588
Conversation
if (shouldShow) { | ||
showTermsAgreementDialog() | ||
} | ||
if (!shouldShow) return@collectWithLifecycle |
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.
a: isShow는 어떤가요?? shouldShow should의 의미가 코드에선 와닿지 않는 것 같아요
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.
음 isShown으로 가겠습니다!!
@@ -9,6 +10,8 @@ import com.into.websoso.ui.termsAgreement.TermsAgreementDialogBottomSheet | |||
|
|||
class TermsAgreementDialogFragment : | |||
BaseDialogFragment<DialogTermsAgreementPopupMenuBinding>(R.layout.dialog_terms_agreement_popup_menu) { | |||
private var isBottomSheetShown = false |
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.
c: 제가 보기엔 이 프로퍼티가 없어도 문제없이 동작할 것 같은데 , 어디에 쓰는 프로퍼티일까요?
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.
바텀시트가 떠 있는 상태를 알려주는 프로퍼티였는데 없어도 findFragmentByTag
로 충분히 동작하네욤..! 감사합니다!!
@@ -24,6 +25,7 @@ import dagger.hilt.android.AndroidEntryPoint | |||
@AndroidEntryPoint | |||
class TermsAgreementDialogBottomSheet : BaseBottomSheetDialog<DialogTermsAgreementBinding>(R.layout.dialog_terms_agreement) { | |||
private val termsAgreementViewModel: TermsAgreementViewModel by viewModels() | |||
var onDismissListener: (() -> Unit)? = 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.
r: 뷰에서 public프로퍼티를 사용할 일이 있나요?
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.
위에서 리뷰해주신 isBottomSheetShown 프로퍼티를 사용하는 과정에서 필요해서 public으로 해놓은건데 위에 리뷰 수정하면서 이 부분도 수정하겠습니다!
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.
굿굿 고생하셨습니닷
val existingDialog = | ||
parentFragmentManager.findFragmentByTag(TermsAgreementDialogFragment.TERMS_AGREEMENT_TAG) | ||
val existingBottomSheet = | ||
parentFragmentManager.findFragmentByTag("TermsAgreementDialogBottomSheet") |
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.
c:요 태그값도 계속 재사용하는 것 같은데 상수화 하는건 어떤가요?
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.
고생샐리티엠
📌𝘐𝘴𝘴𝘶𝘦𝘴
📎𝘞𝘰𝘳𝘬 𝘋𝘦𝘴𝘤𝘳𝘪𝘱𝘵𝘪𝘰𝘯
📷𝘚𝘤𝘳𝘦𝘦𝘯𝘴𝘩𝘰𝘵
Screen_recording_20250221_143601.webm
Screen_recording_20250221_155706.webm
💬𝘛𝘰 𝘙𝘦𝘷𝘪𝘦𝘸𝘦𝘳𝘴