Skip to content

Conversation

wjshim2003
Copy link
Collaborator

@wjshim2003 wjshim2003 commented Aug 9, 2025

Issue #150의 문제를 해결하면서 filterdialog까지 수정했습니다.

fun onGallerySelected()
fun onDefaultImageSelected()
}

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

BottomSheetDialogFragment는 함수 매개변수를 받고 있었기 때문에 리스너를 추가해서 해결했습니다.

Comment on lines +36 to +46
companion object {
private const val DEFAULT_MODE = "FULL"

fun newInstance(type: FilterMode): FilterDialogFragment {
return FilterDialogFragment().apply {
arguments = Bundle().apply {
putString(DEFAULT_MODE, type.name)
}
}
}
}
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FilterDialog의 경우 enum class인 FilterMode만 받으면 되기 때문에 newInstance를 정의해 주어서 해결했습니다.

@wjshim2003 wjshim2003 merged commit 2af5cf6 into develop Aug 21, 2025
2 checks passed
@wjshim2003 wjshim2003 deleted the wjshim2003/fix-dialog-crash branch August 21, 2025 07:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants