-
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.
MIN-49] feat: story 중첩 리사이클러뷰 구현(#23)
- Loading branch information
KDW03
committed
Feb 15, 2023
1 parent
aaae56e
commit 95526a0
Showing
77 changed files
with
516 additions
and
309 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
2 changes: 0 additions & 2 deletions
2
common-ui/src/main/java/com/najudoryeong/mineme/common_ui/MainActivityUtil.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
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 |
---|---|---|
|
@@ -32,6 +32,9 @@ android { | |
kotlinOptions { | ||
jvmTarget = '1.8' | ||
} | ||
buildFeatures { | ||
dataBinding true | ||
} | ||
} | ||
|
||
dependencies { | ||
|
2 changes: 1 addition & 1 deletion
2
...example/common/ExampleInstrumentedTest.kt → ...oryeong/common/ExampleInstrumentedTest.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
8 changes: 0 additions & 8 deletions
8
common/src/main/java/com/example/common/data/dto/HomeResponse.kt
This file was deleted.
Oops, something went wrong.
8 changes: 0 additions & 8 deletions
8
common/src/main/java/com/example/common/data/dto/LoginResponse.kt
This file was deleted.
Oops, something went wrong.
8 changes: 0 additions & 8 deletions
8
common/src/main/java/com/example/common/data/dto/StoryListResponse.kt
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
common/src/main/java/com/example/common/data/entity/StoryWithDate.kt
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
common/src/main/java/com/example/common/data/source/StoryService.kt
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
...om/example/common/data/dto/CodeRequest.kt → ...ong/mineme/common/data/dto/CodeRequest.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
6 changes: 6 additions & 0 deletions
6
common/src/main/java/com/najudoryeong/mineme/common/data/dto/CommonResponse.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,6 @@ | ||
package com.najudoryeong.mineme.common.data.dto | ||
|
||
data class CommonResponse<T>( | ||
val data: T, | ||
val success: Boolean | ||
) |
2 changes: 1 addition & 1 deletion
2
...m/example/common/data/dto/LoginRequest.kt → ...ng/mineme/common/data/dto/LoginRequest.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
8 changes: 8 additions & 0 deletions
8
common/src/main/java/com/najudoryeong/mineme/common/data/dto/LoginResponse.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,8 @@ | ||
package com.najudoryeong.mineme.common.data.dto | ||
|
||
import com.najudoryeong.mineme.common.data.entity.LoginData | ||
|
||
data class LoginResponse( | ||
val success: Boolean, | ||
val data: LoginData | ||
) |
2 changes: 1 addition & 1 deletion
2
...m/example/common/data/dto/NullResponse.kt → ...ng/mineme/common/data/dto/NullResponse.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
...xample/common/data/dto/UserInfoRequest.kt → ...mineme/common/data/dto/UserInfoRequest.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
...m/example/common/data/entity/LoginData.kt → ...ng/mineme/common/data/entity/LoginData.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
...xample/common/data/entity/ProviderName.kt → ...mineme/common/data/entity/ProviderName.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
6 changes: 3 additions & 3 deletions
6
...example/common/data/source/AuthService.kt → .../mineme/common/data/source/AuthService.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
4 changes: 2 additions & 2 deletions
4
.../com/example/common/di/DataStoreModule.kt → ...yeong/mineme/common/di/DataStoreModule.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
4 changes: 2 additions & 2 deletions
4
...m/najudoryeong/mineme/story/StoryModel.kt → ...eong/mineme/common/domain/entity/Story.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
6 changes: 2 additions & 4 deletions
6
...mple/common/domain/usecase/UserUseCase.kt → ...neme/common/domain/usecase/UserUseCase.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
.../java/com/example/common/util/Constant.kt → ...judoryeong/mineme/common/util/Constant.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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
package com.example.common.util | ||
package com.najudoryeong.mineme.common.util | ||
|
||
const val NATIVE_APP_KEY = "5162225c94277a85e12566f227145303" |
2 changes: 1 addition & 1 deletion
2
...ava/com/example/common/ExampleUnitTest.kt → ...om/najudoryeong/common/ExampleUnitTest.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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package com.example.common | ||
package com.najudoryeong.common | ||
|
||
import org.junit.Test | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
...ple/foundation/ExampleInstrumentedTest.kt → ...ong/foundation/ExampleInstrumentedTest.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
4 changes: 2 additions & 2 deletions
4
...om/example/foundation/di/NetworkModule.kt → ...ong/mineme/foundation/di/NetworkModule.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
...a/com/example/foundation/util/Constant.kt → ...ryeong/mineme/foundation/util/Constant.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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package com.example.foundation.util | ||
package com.najudoryeong.mineme.foundation.util | ||
|
||
const val BASE_URL = "http://13.125.67.47:18080/" | ||
|
2 changes: 1 addition & 1 deletion
2
...com/example/foundation/ExampleUnitTest.kt → ...ajudoryeong/foundation/ExampleUnitTest.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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package com.example.foundation | ||
package com.najudoryeong.foundation | ||
|
||
import org.junit.Test | ||
|
||
|
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
16 changes: 16 additions & 0 deletions
16
home/src/main/java/com/najudoryeong/mineme/home/data/HomeService.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,16 @@ | ||
package com.najudoryeong.mineme.home.data | ||
|
||
import com.najudoryeong.mineme.common.data.dto.CommonResponse | ||
import com.najudoryeong.mineme.home.domain.entity.HomeData | ||
import retrofit2.http.GET | ||
import retrofit2.http.Header | ||
|
||
interface HomeService { | ||
|
||
@GET("api/test/main/info") | ||
suspend fun readHomeInfo( | ||
@Header("Authorization") token: String, | ||
): CommonResponse<HomeData> | ||
|
||
|
||
} |
21 changes: 21 additions & 0 deletions
21
home/src/main/java/com/najudoryeong/mineme/home/di/NetworkModule.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,21 @@ | ||
package com.najudoryeong.mineme.home.di | ||
|
||
import com.najudoryeong.mineme.home.data.HomeService | ||
import dagger.Module | ||
import dagger.Provides | ||
import dagger.hilt.InstallIn | ||
import dagger.hilt.components.SingletonComponent | ||
import retrofit2.Retrofit | ||
import javax.inject.Singleton | ||
|
||
@Module | ||
@InstallIn(SingletonComponent::class) | ||
class NetworkModule { | ||
|
||
@Singleton | ||
@Provides | ||
fun provideHomeService(retrofit: Retrofit): HomeService { | ||
return retrofit.create(HomeService::class.java) | ||
} | ||
|
||
} |
Oops, something went wrong.