-
Notifications
You must be signed in to change notification settings - Fork 3
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
멍개 리스트 UI 구현 #48
Conversation
<TextView | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:textColor="@color/black" | ||
android:textSize="18sp" | ||
tools:text="잠실6동" /> |
There was a problem hiding this comment.
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이 있는데 그거 보고 사용하면 좋을 것 같아요!!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
웁스~ 나중에 봤네요.
일단 제거하고 ui 구체화 이슈에서 적용해보겠습니다 ~
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
누누 고생하셨습니다~~~🫡
전체적으로 TextView
를 만들 때 styles
를 활용하는 것이 좋을 것 같아요!
누누의 생각과 마찬가지로, 공통적으로 사용할 UI 모델이라면 presentation
에 model
패키지를 만드는 것도 좋은 생각인 것 같아요~~
companion object { | ||
const val GENDER_FILTER_SUBJECT = "성별" | ||
const val SIZE_FILTER_SUBJECT = "사이즈" | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
이거 string.xml으로 빼는 방법도 고민하면 좋을거 같아요😥
class SizeFilter(filterName: String) : GroupFilter(filterName) { | ||
companion object { | ||
private fun from(): List<GroupFilter> { | ||
return listOf( | ||
SizeFilter("수컷"), | ||
SizeFilter("암컷"), | ||
SizeFilter("중성화 수컷"), | ||
SizeFilter("중성화 암컷"), | ||
) | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
사이즈 필터라고 되어 있는데, 일단 더미데이터로 성별 string을 넣을건가요?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
저도 에디처럼 model 패키지 만드는거 완전 찬성입니다!! 너무 수고많으셨어요 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
저도 패키지 구조 좋은 것 같아요! 고생하셨습니다아~
var participationFilter = ParticipationFilter.POSSIBLE | ||
private set |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
private set 활용 좋아요!!
GenderFilter("수컷"), | ||
GenderFilter("암컷"), | ||
GenderFilter("중성화 수컷"), | ||
GenderFilter("중성화 암컷"), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
하드코딩된 문자열을 상수나 다른 방법으로 처리해도 좋을 것 같아요!
<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" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
include를 활용한 view 재사용 좋은 것 같아요!
이슈
개발 사항
전달 사항