Skip to content

Commit

Permalink
[IDLE-000] 지원한 공고 / 찜한 공고 공고 상세보기 활성화
Browse files Browse the repository at this point in the history
  • Loading branch information
J0onYEong committed Sep 3, 2024
1 parent 591d8a0 commit ed8533e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,11 @@ class AppliedAndLikedBoardCoordinator: WorkerRecruitmentBoardCoordinatable {
public func start() {
let vc = StarredAndAppliedVC()
let appliedVM = AppliedPostBoardVM(
coordinator: self,
recruitmentPostUseCase: injector.resolve(RecruitmentPostUseCase.self)
)
let starredVM = StarredPostBoardVM(
coordinator: self,
recruitmentPostUseCase: injector.resolve(RecruitmentPostUseCase.self)
)
vc.bind(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ public class AppliedPostBoardVM: WorkerPagablePostBoardVMable {
/// 가장최신의 데이터를 홀드, 다음 요청시 해당데이터에 새로운 데이터를 더해서 방출
private let currentPostVO: BehaviorRelay<[NativeRecruitmentPostForWorkerVO]> = .init(value: [])

public init(recruitmentPostUseCase: RecruitmentPostUseCase) {
public init(coordinator: WorkerRecruitmentBoardCoordinatable, recruitmentPostUseCase: RecruitmentPostUseCase) {
self.coordinator = coordinator
self.recruitmentPostUseCase = recruitmentPostUseCase
self.nextPagingRequest = .initial

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ public class StarredPostBoardVM: WorkerAppliablePostBoardVMable {
/// 가장최신의 데이터를 홀드, 다음 요청시 해당데이터에 새로운 데이터를 더해서 방출
private let currentPostVO: BehaviorRelay<[NativeRecruitmentPostForWorkerVO]> = .init(value: [])

public init(recruitmentPostUseCase: RecruitmentPostUseCase) {
public init(coordinator: WorkerRecruitmentBoardCoordinatable, recruitmentPostUseCase: RecruitmentPostUseCase) {
self.coordinator = coordinator
self.recruitmentPostUseCase = recruitmentPostUseCase
self.nextPagingRequest = .initial

Expand Down

0 comments on commit ed8533e

Please sign in to comment.