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

refactor: HomeFragment 리팩토링 #169

Merged
merged 8 commits into from
Mar 26, 2024
Merged

refactor: HomeFragment 리팩토링 #169

merged 8 commits into from
Mar 26, 2024

Conversation

nueijeel
Copy link
Member

  • 날짜 관련 함수 Util 객체에서 관리
  • UserPreferences, DogPreferences, LoginRepository 객체를 직접 주입하지 않고 ViewModel을 통해 접근
  • 불필요한 Job 제거
  • 로직 함수화
  • 로딩바 관련 버그 해결이 다 안돼서 일단 로딩바 자체를 없앤 상태
  • 맨 처음 화면 셋팅 시 가로 달력에 기본값 날짜 표시 안되는 버그 해결 예정

- AccessToken 재발급 로직 추가
- AccessToken과 Provider 값 수정하는 로직 추가
- RefreshToken, Provider, Email flow 객체를 LiveData로 변환
- DogName과 DogId, DogWeight 값 수정하는 로직 추가
- DogWeight flow 객체를 LiveData로 변환
- UserPreferences, DogPreferences, LoginRepository 객체를 직접 주입 받지 않도록 ViewModel 사용
- 불필요한 Job 제거
- 로직 함수화
@nueijeel nueijeel added the refactor 리팩토링 label Mar 26, 2024
@nueijeel nueijeel self-assigned this Mar 26, 2024
- 매개변수 개행
- 불필요한 import문 제거
- 불필요한 주석 제거
@nueijeel nueijeel changed the title HomeFragment 리팩토링 refactor: HomeFragment 리팩토링 Mar 26, 2024
@iiolo iiolo merged commit b19ed47 into develop Mar 26, 2024
1 check passed
@nueijeel nueijeel deleted the feature/fix_loading branch March 26, 2024 12:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor 리팩토링
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants