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

멍개 리스트 UI 구현 #48

Closed
wants to merge 6 commits into from
Closed

멍개 리스트 UI 구현 #48

wants to merge 6 commits into from

Conversation

jinuemong
Copy link
Contributor

이슈

개발 사항

  • 멍개 리스트 화면 ui 구현
  • 멍개 uiModel 구현

전달 사항

  • 필터 데이터 같은 경우는 재활용 될 것 같은데 패키지 구조 어떻게 했으면 좋을지 의견주시면 감사하겠습니다.
  • ex> presentation - model - groupfilter - ...

@jinuemong jinuemong added 🤖 android android ✨ feat 기능 개발 labels Jul 14, 2024
@jinuemong jinuemong self-assigned this Jul 14, 2024
Copy link

github-actions bot commented Jul 14, 2024

Test Results

3 tests  ±0   3 ✅ ±0   0s ⏱️ ±0s
1 suites ±0   0 💤 ±0 
1 files   ±0   0 ❌ ±0 

Results for commit 46ea712. ± Comparison against base commit 9180143.

♻️ This comment has been updated with latest results.

Comment on lines 29 to 34
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="@color/black"
android:textSize="18sp"
tools:text="잠실6동" />
Copy link
Member

Choose a reason for hiding this comment

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

styles에 가보면 font, textSize, color 등으로 만들어 놓은 text style이 있는데 그거 보고 사용하면 좋을 것 같아요!!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

웁스~ 나중에 봤네요.
일단 제거하고 ui 구체화 이슈에서 적용해보겠습니다 ~

Copy link
Member

@junjange junjange left a comment

Choose a reason for hiding this comment

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

누누 고생하셨습니다~~~🫡
전체적으로 TextView를 만들 때 styles를 활용하는 것이 좋을 것 같아요!

누누의 생각과 마찬가지로, 공통적으로 사용할 UI 모델이라면 presentationmodel 패키지를 만드는 것도 좋은 생각인 것 같아요~~

Comment on lines 25 to 28
companion object {
const val GENDER_FILTER_SUBJECT = "성별"
const val SIZE_FILTER_SUBJECT = "사이즈"
}
Copy link
Member

Choose a reason for hiding this comment

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

이거 string.xml으로 빼는 방법도 고민하면 좋을거 같아요😥

Comment on lines 17 to 26
class SizeFilter(filterName: String) : GroupFilter(filterName) {
companion object {
private fun from(): List<GroupFilter> {
return listOf(
SizeFilter("수컷"),
SizeFilter("암컷"),
SizeFilter("중성화 수컷"),
SizeFilter("중성화 암컷"),
)
}
Copy link
Member

Choose a reason for hiding this comment

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

사이즈 필터라고 되어 있는데, 일단 더미데이터로 성별 string을 넣을건가요?

Copy link
Member

Choose a reason for hiding this comment

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

요거는 다른 사람들도 쓸 수 있도록 컨벤션 맞추면 좋을거 같아요!!
혹시 컨벤션 바꾸고 싶으면 언제든 말씀해주세용
image

Copy link
Contributor Author

Choose a reason for hiding this comment

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

스크린샷 2024-07-15 오전 12 16 53

요게 아니였군요!
내일 수정해볼께요

@gaeun5744
Copy link
Member

저도 에디처럼 model 패키지 만드는거 완전 찬성입니다!! 너무 수고많으셨어요

Copy link
Contributor

@dpcks0509 dpcks0509 left a comment

Choose a reason for hiding this comment

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

저도 패키지 구조 좋은 것 같아요! 고생하셨습니다아~

Comment on lines +7 to +8
var participationFilter = ParticipationFilter.POSSIBLE
private set
Copy link
Contributor

Choose a reason for hiding this comment

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

private set 활용 좋아요!!

Comment on lines +8 to +11
GenderFilter("수컷"),
GenderFilter("암컷"),
GenderFilter("중성화 수컷"),
GenderFilter("중성화 암컷"),
Copy link
Contributor

Choose a reason for hiding this comment

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

하드코딩된 문자열을 상수나 다른 방법으로 처리해도 좋을 것 같아요!

Comment on lines +21 to +28
<include
android:id="@+id/participation_filter"
layout="@layout/include_group_filter"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:filterName="@{groupFilterSelector.participationFilter.filterName}"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
Copy link
Contributor

Choose a reason for hiding this comment

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

include를 활용한 view 재사용 좋은 것 같아요!

@jinuemong jinuemong closed this by deleting the head repository Jul 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤖 android android ✨ feat 기능 개발
Projects
None yet
Development

Successfully merging this pull request may close these issues.

멍개 리스트 UI
4 participants