-
Notifications
You must be signed in to change notification settings - Fork 0
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
[#15] 검색화면 (SearchScreen) 구현 #16
Conversation
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.
아마 몰아서 하실 거 같은데,
하드코딩된 스트링이나 dimension 들은 클래스나 파일에 모아서 관리하도록 하고요
전체적으로 최근의 안드로이드 개발방법론을 따라가고 있는 것 같습니다.
데모 화면을 봤는데 나쁘지는 않은 거 같고요, 나중에는 shimmer loading 효과를 넣어도 좋을 거 같아요.
@Query("pageNo") pageNo: Int, | ||
@Query("keyword") keyword: String, | ||
@Query("contentTypeId") contentTypeId: String? = null | ||
): ApiResponse<LocationBasedDTO> |
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.
방금 든 생각인데, @QueryMap
을 사용하면 여러 개의 쿼리를 맵 하나에 넣어서 좀더 간편하게 할 수 있을 거 같아요.
https://futurestud.io/tutorials/retrofit-2-add-multiple-query-parameter-with-querymap
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.
@QueryMap
을 쓰기에는 좀 애매하다고 생각했었는데, 한 번 적용해 보도록 하겠습니다.
변경사항
멘토님께
동작화면
Screen_recording_20241021_200645.mp4