-
Notifications
You must be signed in to change notification settings - Fork 70
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
Retrofit 설정 #13
Retrofit 설정 #13
Conversation
id("droidknights.kotlin.library") | ||
id("droidknights.kotlin.hilt") | ||
id("droidknights.android.library") | ||
id("droidknights.android.hilt") |
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.
왜 Diff로 잡혔을까요? 🤔
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.
네트워크 외에도 로컬 관련 로직이 포함될 것 같아서 kotlin --> android 모듈로 변경되었습니다.
@Provides | ||
@Singleton | ||
fun provideRetrofit(okHttpClient: OkHttpClient): Retrofit = Retrofit.Builder() | ||
.baseUrl(BASE_URL) |
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.
Kotlinx serialization은 의존성만 추가하셨는데 ConverterFactory 등록도 같이 해주시면 어떨까요?
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.
@wisemuji |
알림을 놓쳤네요 🥲 확인했습니다! |
Issue
Overview (Required)