-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/develop' into develop
- Loading branch information
Showing
13 changed files
with
144 additions
and
36 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<layout | ||
xmlns:android="http://schemas.android.com/apk/res/android"> | ||
|
||
<ProgressBar | ||
android:id="@+id/progressbar" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_gravity="center_horizontal" | ||
android:indeterminate="true" | ||
android:paddingLeft="8dp" | ||
android:paddingRight="8dp" /> | ||
|
||
</layout> |
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
4 changes: 2 additions & 2 deletions
4
core/domain/src/main/java/com/swmarastro/mykkumi/domain/repository/BannerRepository.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,10 +1,10 @@ | ||
package com.swmarastro.mykkumi.domain.repository | ||
|
||
import com.swmarastro.mykkumi.domain.entity.BannerDetailVO | ||
import com.swmarastro.mykkumi.domain.entity.BannerListVO | ||
import com.swmarastro.mykkumi.domain.entity.BannerItemVO | ||
|
||
interface BannerRepository { | ||
suspend fun getBannerList(): BannerListVO // HomeBannerListResponse | ||
|
||
suspend fun getBannerDetail(bannerId: Int): BannerItemVO | ||
suspend fun getBannerDetail(bannerId: Int): BannerDetailVO | ||
} |
4 changes: 2 additions & 2 deletions
4
core/domain/src/main/java/com/swmarastro/mykkumi/domain/usecase/GetBannerDetailUseCase.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,14 +1,14 @@ | ||
package com.swmarastro.mykkumi.domain.usecase | ||
|
||
import com.swmarastro.mykkumi.domain.entity.BannerItemVO | ||
import com.swmarastro.mykkumi.domain.entity.BannerDetailVO | ||
import com.swmarastro.mykkumi.domain.repository.BannerRepository | ||
import javax.inject.Inject | ||
|
||
class GetBannerDetailUseCase @Inject constructor( | ||
private val repository: BannerRepository | ||
){ | ||
|
||
suspend operator fun invoke(bannerId: Int): BannerItemVO { | ||
suspend operator fun invoke(bannerId: Int): BannerDetailVO { | ||
return repository.getBannerDetail(bannerId) | ||
} | ||
} |
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: 2 additions & 0 deletions
2
feature/home/src/main/java/com/swmarastro/mykkumi/feature/home/UiState.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
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