Skip to content

Conversation

@thingineeer
Copy link
Member

@thingineeer thingineeer commented Mar 17, 2025

🩵 Issue

close #276


💙 변경된 내용

  1. AnnouncementModel 에 Equatable confirm
  2. 공고 바인딩 부분 distinctUntilChanged() 처리

🅿️ PR Point

AnnouncementModel.swift

struct AnnouncementModel: Codable, Equatable {

}

HomeViewController.swift

output.jobModel
    .distinctUntilChanged() // 이거 추가
    .observe(on: MainScheduler.instance)
    .subscribe(onNext: { [weak self] jobDatas in
        guard let self = self else { return }
        
        self.mainHomeDatas.append(contentsOf: jobDatas)
        
        rootView.collectionView.reloadData()
    })
    .disposed(by: disposeBag)

📘 ScreenShot


@thingineeer thingineeer added Fix 🐛 버그, 오류 해결, 코드 수정 명진 🍀 labels Mar 17, 2025
@thingineeer thingineeer requested a review from wjdalswl March 17, 2025 13:17
@thingineeer thingineeer self-assigned this Mar 17, 2025
@thingineeer thingineeer changed the title [Fix] #276 - 페이지 네이션 공고 중복으로 뜨는 문제 해결 [Fix] #276 - 페이지 네이션 공고 중복으로 뜨는 문제 해결 했습니다. Mar 18, 2025
Copy link
Member

@wjdalswl wjdalswl left a comment

Choose a reason for hiding this comment

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

확인했습니당! 수고하셨습니다!

@thingineeer thingineeer merged commit e9ccb63 into main Mar 19, 2025
@thingineeer thingineeer deleted the Fix/#276-페이지네이션_수정 branch March 19, 2025 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Fix 🐛 버그, 오류 해결, 코드 수정 명진 🍀

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Fix] - 페이지네이션 중복 공고 뜨는 이슈 해결

3 participants