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/edit circle #14

Merged
merged 25 commits into from
Feb 23, 2025
Merged

Feature/edit circle #14

merged 25 commits into from
Feb 23, 2025

Conversation

mountainn-dev
Copy link
Collaborator

No description provided.

동아리 정보 수정 상황인 경우, setOrigin 함수를 통해 별도로 원본 데이터를 뷰모델 내에 저장하였으나, 이는 의존성 주입과 일맥상통하기 때문에
획일화를 위해 뷰모델에 별도로 동아리 원본 데이터에 대한 의존성을 주입함
최초 동아리 생성인 경우, 동아리 원본 데이터를 null 로 설정하면, 뷰모델 내 동아리 데이터는 CircleDetailEmptyModel 로 초기화
기존 작업별 UiState 를 즉시 반영하지 않고, invokeOnCompletion, async(Deffered) 를 이용해 ErrorState 가 발생하는 즉시 부모 코루틴을 캔슬하고, 그렇지 않은 경우
일괄적적으로 Success State 반영
CategoryAdapter 재사용을 위해 ViewModel 의존성을 제거하고, 새로운 CategoryModel, CategoryModels 와 DiffUtil 을 활용하여 Adapter 재작성
@mountainn-dev mountainn-dev merged commit 7b5d688 into develop Feb 23, 2025
1 check passed
@mountainn-dev mountainn-dev deleted the feature/edit_circle branch February 23, 2025 19:02
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.

None yet

1 participant