[iDLE-183] 요양보호사 프로필 조회및 수정 #23
Merged
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.
변경사항
동영상
default.mp4
확인화면
확인화면은 ViewModel을 구현하였으며, 바인딩 부분에서 센터장 프로필과 다른 방식을 선택했습니다.
센터장 프로필의 경우 변화가 발생하는 부분만 업데이트할 필요가 있어 1대1로 UI와 데이터를 바인딩하였지만, 요양보호시 프로필은 확인화면과 수정화면이 불리되어 있어 아래와 같이 VO하나를 통째로 전달받아 뷰에 할당하는 식으로 구현하였습니다.
궁금한점
아직 API 명세가 나오지는 않았지만
수정화면의 경우 다수 입력을 한 화면에서 받고 그것을 ViewModel로 전달해야 합니다. 어떤 방식을 사용하는 것이 적합한 것인지 궁금합니다.
생각했던 방식들입니다. 😅