-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* ruby 세팅 수정 (#93) * ruby 세팅 수정 (#95) * Update android-cd.yml * Update android-cd.yml * Update android-cd.yml * Update android-cd.yml * Update android-cd.yml * Update android-cd.yml * Update android-cd.yml * Update Gemfile.lock * Update android-cd.yml * Update android-cd.yml * Update android-cd.yml * Update android-cd.yml * Update android-cd.yml * Update android-cd.yml * Update android-cd.yml * Update android-cd.yml * Update build.gradle.kts * Update build.gradle.kts * Update build.gradle.kts * Update build.gradle.kts * Update build.gradle.kts * Update build.gradle.kts * Update build.gradle.kts * Update build.gradle.kts * api request 가 특정 시점 이후 호출되지 않는 이슈 해결 (#117) * uiState 변경 방식 update 로 통일 * TODO 제거 이거 예전에 지웠는데 왜 남아있지 * Ktor 를 Retrofit 으로 migration * GuestLogin 관련 함수를 BandalartService 내에서 분리 GuestLoginService interface 로 따로 선언 * style check success * 사용하지 않는 클래스 주석처리 * GuestLoginService Provider 추가 * KtorClient, RetrofitClient 를 별도의 networkModule 로 분리 networkModule 을 생성함에 따라 모듈의 순환 구조를 방지하기 위해 datastore 모듈 추가 * style check success * style check success * fix run build fail * 스플래시 뷰모델 api 호출 이후 0.5 초 이내에 응답을 받을 경우 Loading Screen 을 띄우지 않는 로직 적용 update 로 uiState 변경 로직 통일 * chore: 코드 정리 viewModel 에서 수집한 error 는 이미 toAlertMessage 함수에 의해 custom 된 exception message 이므로 로그를 확인할 필요가 없으므로 제거 * 하드코딩된 텍스트 stringResource 로 변경 * Update android-cd.yml --------- Co-authored-by: JI HUN LEE <[email protected]>
- Loading branch information
Showing
33 changed files
with
784 additions
and
445 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
core/data/src/main/kotlin/com/nexters/bandalart/android/core/data/di/ServiceModule.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
package com.nexters.bandalart.android.core.data.di | ||
|
||
import com.nexters.bandalart.android.core.data.service.BandalartService | ||
import com.nexters.bandalart.android.core.data.service.GuestLoginService | ||
import dagger.Module | ||
import dagger.Provides | ||
import dagger.hilt.InstallIn | ||
import dagger.hilt.components.SingletonComponent | ||
import javax.inject.Singleton | ||
import retrofit2.Retrofit | ||
|
||
@Module | ||
@InstallIn(SingletonComponent::class) | ||
internal object ServiceModule { | ||
|
||
@Singleton | ||
@Provides | ||
internal fun provideBandalartService(retrofit: Retrofit): BandalartService { | ||
return retrofit.create(BandalartService::class.java) | ||
} | ||
|
||
@Singleton | ||
@Provides | ||
internal fun provideGuestLoginService(retrofit: Retrofit): GuestLoginService { | ||
return retrofit.create(GuestLoginService::class.java) | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
...exters/bandalart/android/core/data/local/datasource/CompletedBandalartKeyDataStoreImpl.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...com/nexters/bandalart/android/core/data/local/datasource/GuestLoginLocalDataSourceImpl.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
.../nexters/bandalart/android/core/data/local/datasource/RecentBandalartKeyDataSourceImpl.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.