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

[IDLE-000] 요양보호사는 특정 채용공고를 즐겨찾기에 등록할 수 있다. #52

Merged
merged 8 commits into from
Sep 4, 2024

Conversation

J0onYEong
Copy link
Contributor

변경된점

  • 메인화면및 공고 상세화면에서 공고 즐겨찾기 기능 구현
  • BaseViewModel, BaseViewController를 사용한 로딩화면 / Alert 리팩토링

공고 즐겨찾기

요양보호사는 메인화면및 공고 상세화면에서 공고를 즐겨찾기 리스트에 등록및 해제할 수 있습니다.

  • 즐겨찾기 상태가 아닌 경우
    image

  • 시현영상

    image description

BaseViewModel, BaseViewController를 사용한 로딩화면 / Alert 리팩토링

모든화면에서 Alert및 로딩 화면(indicator)를 사용할 수 있도록 BaseViewController와 BaseViewModel리팩토링 했습니다.
image

  • 배운점
    앱 내 공통으로 사용되는 Alert를 Base로 지정하여 어떤 화면에도 사용가능하도록하여, 코드 중복을 방지했습니다.
    간단하게 특정 ViewModel의 alert옵저버블(subject)에 접근하여 이벤트를 전달함으로써, Alert를 표시할 수 있습니다.
    다음부터는 개발초기단계에 BaseViewController, BaseViewModel을 미리만들고, 비동기 스트림을 통해 이벤트만 전달하면 기본로직이 실행되는 구조를 미리 설계할 것입니다!

@J0onYEong J0onYEong merged commit 2247025 into develop Sep 4, 2024
1 check passed
@J0onYEong J0onYEong deleted the feature/favoritePost branch September 4, 2024 13:07
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.

1 participant