Skip to content
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

[feature/#246] bookmarkItems의 타입을 ImmutableList로 변경 #247

Merged
merged 1 commit into from
Aug 31, 2023

Conversation

l2hyunwoo
Copy link
Contributor

Issue

Overview (Required)

@github-actions
Copy link

Test Results

18 tests   18 ✔️  8s ⏱️
11 suites    0 💤
11 files      0

Results for commit a26a1fa.

Copy link
Member

@wisemuji wisemuji left a comment

Choose a reason for hiding this comment

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

고생하셨습니다!

@@ -83,7 +85,7 @@ private fun BookmarkLoading() {
@Composable
private fun BookmarkScreen(
isEditMode: Boolean,
bookmarkItems: List<BookmarkItemUiState>,
bookmarkItems: ImmutableList<BookmarkItemUiState>,
Copy link
Member

Choose a reason for hiding this comment

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

PersistentList의 변경 API가 불필요하다고 생각하셔서 ImmutableList를 사용하신걸까요?
이전에 진행하셨던 이슈와 달라져서 여쭤봅니다.

Copy link
Contributor Author

@l2hyunwoo l2hyunwoo Aug 31, 2023

Choose a reason for hiding this comment

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

네 편집 버튼이 있어서 살짝 불안하긴 한데, 기능을 확인해보니 아이템들이 자주 위치변경된다거나 삭제되지 않을 것 같아서 ImmutableList 타입을 사용했습니다.

Copy link
Member

@wisemuji wisemuji left a comment

Choose a reason for hiding this comment

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

고생하셨습니다 👏

@wisemuji wisemuji merged commit 2355550 into droidknights:main Aug 31, 2023
@l2hyunwoo l2hyunwoo deleted the feature/#246 branch October 5, 2023 00:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[북마크] 북마크 리스트에 불필요하게 발생할 수 있는 리컴포지션 줄이기
3 participants