-
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
[AN] 놀이터 전체 조회 -> 범위 조회로 변경 #778
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.
굳
@@ -957,7 +976,7 @@ class PlaygroundFragment : Fragment(), OnMapReadyCallback { | |||
companion object { | |||
private const val PLAYGROUND_RADIUS = 150.0 | |||
private const val MIN_ZOOM = 7.0 | |||
private const val DEFAULT_ZOOM = 15.0 | |||
private const val DEFAULT_ZOOM = 14.0 |
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.
원래는 놀이터 전체를 한번에 불러와서 지도 줌이 더 많이 되어 있어도 지도 카메라를 이동하면 옆에 있는 놀이터들을 확인할 수 있었어요. 그런데 내가 보고 있는 화면의 범위를 토대로 놀이터를 조회해서 화면에 보여주기 때문에 초기에 사용자가 친구 찾기 기능에 접속했을때 지도 줌을 낮춤으로서 조금 더 많은 놀이터를 확인할 수 있도록 유도하였습니다!
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.
고생하셨습니다~~
주석은 시간이 될 때 제거해주셔도 좋을 것 같아요~~
suspend fun getPlaygrounds( | ||
startLatitude: Double, | ||
endLatitude: Double, | ||
startLongitude: Double, | ||
endLongitude: Double, | ||
): Result<List<Playground>> | ||
|
||
suspend fun getMyPlayground(): DomainResult<MyPlayground, DataError.Network> |
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.
getPlaygrounds
의 반환타입을 DomainResult
로 안하신 이유가 있으실까요?
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.
앗 그렇네요 DomainResult로 수정해야하는 걸 빼먹었네요. 수정하겠습니다!
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.
고생하셨습니당~
이슈
개발 사항
시연 영상
1.1.mp4