-
Notifications
You must be signed in to change notification settings - Fork 2
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
fix: 이미지 업로드 로직 수정 #174
Merged
Merged
fix: 이미지 업로드 로직 수정 #174
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- ViewModel을 사용해 Access Token 관리 - 각종 View 초기화하는 코드 함수화
- AccessToken 재발급 로직 추가 - AccessToken과 Provider 값 수정하는 로직 추가 - RefreshToken, Provider, Email flow 객체를 LiveData로 변환
- ViewModel을 이용해 LoginRepository의 함수 호출, UserPreferences의 값 접근
- 패키지도 info.util에서 aws.util로 변경
- fragmentLoginBinding -> binding
- context 인자는 requireContext(), activity 인자는 requireActivity()로 대체
- UserViewModel을 통해 DataStore 객체에 접근 - provider 값 받아오는 함수 정의
- addListeners() 함수에 버튼 클릭 리스너 정의 - 뷰 초기화 및 LiveData Observe를 수행하는 콜백함수 onCreateView -> onViewCreated 변경
- context 인자는 requireContext(), activity 인자는 requireActivity()로 대체
- fragmentDogAddOnBoardingBinding -> binding
- UserViewModel을 통해 DataStore 객체에 접근
- Retrofit Interface 함수 인자 수정 - patchProfileImage 함수 호출을 위해 Repository, Impl, ViewModel에서 전달하는 인자 수정
# Conflicts: # app/src/main/java/com/project/meongcare/info/view/PetEditFragment.kt # app/src/main/java/com/project/meongcare/medicalrecord/viewmodel/UserViewModel.kt
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
안드로이드에서 aws에 직접 이미지 업로드한 뒤, 서버에 이미지 경로 전달하는 방식으로 수정