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

[FIX] #43 가끔 Post의 이미지를 불러오지 못하는 이슈 수정 #45

Merged
merged 3 commits into from
Apr 23, 2023

Conversation

aurora32s
Copy link
Owner

@aurora32s aurora32s commented Apr 23, 2023

📌 내용

가끔 Post 정보는 받아왔지만 이미지가 보이지 않는 이슈를 확인하였습니다. 수정 부탁드립니다.

🏠 원인분석

PostViewModel에서 Post 저장 이후, removaImages 리스트를 초기화해주지 않아 이후 다시 게시글을 수정하려고 할 때 기존 removaImage에 이미지들이 삭제되는 것이 원인이었습니다.

🪴 수정

PostViewModel에서 Post EditMode 취소 또는 저장 후, removeImage와 removeTag 배열을 clear해주었습니다.

🛠 추가 수정사항

  • PostScreen에서 수정모드이면서 시스템 BackButton을 클릭하면, show mode로 변경
  • PostViewModel.getPost 코드 정리

🌹 관견 Issue

Closed #43

@aurora32s aurora32s added 🪴 Featrue 새로운 기능 구현 🦊 담당: 진연주(안드로이드) 담당 개발자 - 진연주(안드로이드) 🌹Refactor 리팩토링 labels Apr 23, 2023
@aurora32s aurora32s added this to the Refactor milestone Apr 23, 2023
@aurora32s aurora32s self-assigned this Apr 23, 2023
@aurora32s aurora32s merged commit 67c6403 into dev Apr 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🪴 Featrue 새로운 기능 구현 🌹Refactor 리팩토링 🦊 담당: 진연주(안드로이드) 담당 개발자 - 진연주(안드로이드)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FIX] 가끔 Post의 이미지를 불러오지 못하는 이슈 수정
1 participant