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

[BSVR-111/FEAT] 시야 후기 등록 UI 디테일 및 디자인 추가 #25

Merged
merged 40 commits into from
Jul 15, 2024

Conversation

minju1459
Copy link
Collaborator

@minju1459 minju1459 commented Jul 14, 2024

💻주요 작업 내용

  • 등록 메인 화면뷰
    • 업로드 사진 개수 추가
    • 좌석, 시야 후기 개수 - 텍스트 표시
  • 사진 촬영뷰
    • 15MB 용량 제한 다이얼로그 적용
  • 좌석 번호 선택뷰
    • 스피너 투명 이슈
    • 열 에러 처리 서버 명세서 토대로 수정
  • 시야 후기 선택
    • edtitext layout 수정 및 에러 처리 텍스트 표시
20240715_043938.mp4

🎞리뷰 요청 사항

  • 디테일한 UI 수정 및 추가된 디자인 사항들 구현했습니다 🔮
  • 마지막 UI PR 입니다 ! 화이팅 😎

@minju1459 minju1459 added this to the 1차 스프린트 개발 milestone Jul 14, 2024
@minju1459 minju1459 self-assigned this Jul 14, 2024
@minju1459 minju1459 changed the title [BSVR-111/FEATURE] 직관 등록 UI 디테일 및 디자인 추가 [BSVR-111/FEAT] 직관 등록 UI 디테일 및 디자인 추가 Jul 14, 2024
Copy link
Member

@Jokwanhee Jokwanhee left a comment

Choose a reason for hiding this comment

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

UI 짜느라 고생했다 민주야~~

추가 궁금한거

  • A안
// viewmodel
private val _test = MutableStateFlow("")
val test = _test.asLiveData()

// activity
viewModel.test.observe(this) {}
  • B안
// viewmodel
private val _test = MutableStateFlow("")
val test = _test.asStateFlow()

// activity
viewModel.test.asLiveData().observe(this) {}

A안과 B안의 차이점이 뭘까..? 둘 다 똑같은 건가..? 성식이형한테 물어보쟈~ 혹시 민주는 둘의 차이점을 알고있니?

@@ -55,11 +55,11 @@
android:screenOrientation="portrait" />

<activity android:name="com.depromeet.presentation.seatReview.ReviewActivity"
android:exported="false"
android:exported="true"
Copy link
Member

Choose a reason for hiding this comment

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

false 로 바꿔야할듯!

android:screenOrientation="portrait"/>

<activity android:name="com.depromeet.presentation.seatReview.ReviewDoneActivity"
android:exported="false"
android:exported="true"
android:screenOrientation="portrait"/>
Copy link
Member

Choose a reason for hiding this comment

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

22

Copy link
Collaborator

@BENDENG1 BENDENG1 left a comment

Choose a reason for hiding this comment

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

민주 정말 고생많았어!!!
이제 곧 서버 API연결 시작할텐데 좀만 더 힘내보자!
🙆‍♂️🙆‍♂️🙆‍♂️🙆‍♂️🙆‍♂️🙆‍♂️

android:layout_height="match_parent">

<ImageButton
android:id="@+id/btn_add_image"
Copy link
Collaborator

Choose a reason for hiding this comment

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

우선 관희꺼랑 민주꺼 봤는데 추후에 xml 컨벤션도 맞춰서 한번 리팩토링 해야할거 같아! (물론 나도..)

Comment on lines +57 to +58
ArrayAdapter(requireContext(), android.R.layout.simple_spinner_item, blockItems)
adapter.setDropDownViewResource(R.layout.custom_spinner_dropdown_item)
Copy link
Collaborator

Choose a reason for hiding this comment

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

오 해결했구나!

@minju1459
Copy link
Collaborator Author

UI 짜느라 고생했다 민주야~~

추가 궁금한거

  • A안
// viewmodel
private val _test = MutableStateFlow("")
val test = _test.asLiveData()

// activity
viewModel.test.observe(this) {}
  • B안
// viewmodel
private val _test = MutableStateFlow("")
val test = _test.asStateFlow()

// activity
viewModel.test.asLiveData().observe(this) {}

A안과 B안의 차이점이 뭘까..? 둘 다 똑같은 건가..? 성식이형한테 물어보쟈~ 혹시 민주는 둘의 차이점을 알고있니?

// viewmodel
private val _test = MutableStateFlow("")
val test = _test.asStateFlow()

// activity
viewModel.test.asLiveData().observe(this) {}

나도 이거 진짜 궁금했는데, 난 A안으로 진행하긴 했어 !
이유는 내 뷰는 UI 데이터를 관찰해야 하는 부분이 많아서
뷰모델에서 LiveData로 변환을 해주고 activity로 넘겨주면 생명주기를 자동으로 관찰해줘서 더 낫다고 생각했거덩

결론은 둘 다 돌아가긴 하는데 미리 livedata로 변환해주냐, 나중에 하냐 차이라 코드 스타일 차이아닐까 ?! 이따 물어보쟝

Jokwanhee and others added 20 commits July 15, 2024 21:32
[BSVR-108/FEAT] 시야 찾기 UI 3차 구현
…nto feat/#23-seat-review-ui-final

# Conflicts:
#	presentation/src/main/res/values/themes.xml
…nto feat/#23-seat-review-ui-final

# Conflicts:
#	presentation/src/main/res/values/themes.xml
#	무제
…nto feat/#23-seat-review-ui-final

# Conflicts:
#	presentation/src/main/res/values/themes.xml
Copy link
Collaborator

@SsongSik SsongSik left a comment

Choose a reason for hiding this comment

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

LGTM!!

@minju1459 minju1459 merged commit 2267d48 into main Jul 15, 2024
1 check passed
@minju1459 minju1459 changed the title [BSVR-111/FEAT] 직관 등록 UI 디테일 및 디자인 추가 [BSVR-111/FEAT] 시야 후기 등록 UI 디테일 및 디자인 추가 Aug 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEATURE] 직관 등록 UI 디테일 이슈 수정
4 participants