Skip to content

Conversation

@BearYeWon
Copy link

📝 미션

미션: API 연동

🙋 구현에 대한 설명

  • getPostDetail, updatePost, deletePost, uploadImage Swagger API 구현
  • UI에 반영

미션 구현 설명

  • apiService에 swagger api 대로 @get, @put, @Delite, @multipart, @post 어노테이션 사용하여 request , response 정의
  • viewModel에 각각 api 에 해당하는 함수에 viewModelScope 사용하여 디테일 포스트, 업로드, 삭제에 맞게 구현 및 screen 파일에 각 viewModel 에 구현한 함수 반영

📷 스크린샷 & 실행영상

5._.mp4

🎸 기타

아직 이미지 업로드에 대해 완벽히 아는 것이 아니라서 추가적인 공부가 필요할 것 같습니다.

@BearYeWon BearYeWon changed the title 5주차 미션 / 안드로이드 2조 사예원예원 5주차 미션 / 안드로이드 2조 사예원 Oct 30, 2025
@BearYeWon BearYeWon changed the base branch from develop to BearYeWon November 1, 2025 15:18
Copy link
Contributor

@rbqks529 rbqks529 left a comment

Choose a reason for hiding this comment

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

실습 때 코드 구현 확인했는데 이미지 업로드까지 추가 구현 고생하셨습니다!

Copy link
Contributor

Choose a reason for hiding this comment

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

유틸함수로 빼는거 좋습니다. 저도 기존 실습에서는 viewModel에 구현했는데 프로젝트 구조상 viewModel에 구현할 필요가 없는 함수는 따로 빼는게 좋은거 같아요

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.

2 participants