-
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
✨ connect home layout to server via API #96
Conversation
kmkim2689
commented
Jul 25, 2024
- implement server connection from server
- edit home layout components
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.
케이엠 api 통신까지 구현하느라 고생 많았습니다.
코드에 수정할 사항은 보이지 않네요. 린트만 잘 체크해주시고 다시 요청해주세요.
수정할만한 내용이 없어 저는 approve 하겠습니다. :)
val authorImage: String, | ||
@SerializedName("authorName") | ||
val authorName: 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.
SerializedName을 추가해야하나요? 어차피 변수명이랑 똑같은데
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.
제거하겠습니다!
import net.pengcook.android.presentation.detail.RecipeStep | ||
import retrofit2.Response | ||
|
||
class DefaultFeedRepository( |
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.
왜 이름이 Default가 붙어있나요?
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.
기본 구현체 이름에 prefix로 Default를 붙이기로 저희 팀 컨벤션으로 정했기에 붙였습니다!
} | ||
throw IllegalArgumentException() | ||
} | ||
} |
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.
이것도 다른 파일로 혹시 옮겨주실수있나요?
그 가능하다면 ViewModelFactory 생성 base코드 만들어 주면 너무 감사할것같습니다.
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.
반영했습니다!
수고하셨습니다. |