-
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.
Add :core:model, and move to :core:ui
- Loading branch information
1 parent
b042b33
commit 17c2252
Showing
8 changed files
with
32 additions
and
23 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
8 changes: 4 additions & 4 deletions
8
...gestion/SuggestionsListItemUiComponent.kt → ...gestion/SuggestionsListItemUiComponent.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
11 changes: 11 additions & 0 deletions
11
...ore/ui/src/main/kotlin/com/example/flightsearchapp/core/ui/uistate/SearchScreenUiState.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,11 @@ | ||
package com.example.flightsearchapp.core.ui.uistate | ||
|
||
import com.example.flightsearchapp.core.model.Flight | ||
import com.example.flightsearchapp.core.model.SuggestionAirport | ||
|
||
sealed interface SearchScreenUiState { | ||
data class ShowFavorite(val results: List<Flight>) : SearchScreenUiState | ||
data class ShowSuggests(val results: List<SuggestionAirport>) : | ||
SearchScreenUiState | ||
data object Init : SearchScreenUiState | ||
} |
2 changes: 1 addition & 1 deletion
2
.../core/ui/src/main/kotlin/com/example/flightsearchapp/core/ui/uistate/ShowFlightUiState.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
7 changes: 0 additions & 7 deletions
7
...App/core/ui/src/main/kotlin/com/example/flightsearchapp/ui/uistate/SearchScreenUiState.kt
This file was deleted.
Oops, something went wrong.