-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #90 from snuhcs-course/dev
Merge Dev into Main
- Loading branch information
Showing
18 changed files
with
158 additions
and
280 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
159 changes: 0 additions & 159 deletions
159
frontend/app/src/main/java/com/example/haengsha/model/dataSource/DateInfo.kt
This file was deleted.
Oops, something went wrong.
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: 11 additions & 5 deletions
16
frontend/app/src/main/java/com/example/haengsha/model/uiState/home/HomeApiUiState.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,9 +1,15 @@ | ||
package com.example.haengsha.model.uiState.home | ||
|
||
import com.example.haengsha.model.network.dataModel.EventResponse | ||
|
||
sealed interface HomeApiUiState { | ||
object Success : HomeApiUiState | ||
object HttpError : HomeApiUiState | ||
object NetworkError : HomeApiUiState | ||
object Error : HomeApiUiState | ||
object Loading : HomeApiUiState | ||
data class Success( | ||
val festivalResponse: List<EventResponse>?, | ||
val academicResponse: List<EventResponse>? | ||
) : HomeApiUiState | ||
|
||
data object HttpError : HomeApiUiState | ||
data object NetworkError : HomeApiUiState | ||
data object Error : HomeApiUiState | ||
data object Loading : HomeApiUiState | ||
} |
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
Oops, something went wrong.