-
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.
- Loading branch information
Showing
11 changed files
with
102 additions
and
15 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
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: 3 additions & 1 deletion
4
...ndroid/mission_suggestion/ui/dashboard/presentation/contract/SuggestionDashboardInputs.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,11 @@ | ||
package com.lgtm.android.mission_suggestion.ui.dashboard.presentation.contract | ||
|
||
import com.lgtm.android.common_ui.model.SuggestionUI | ||
|
||
interface SuggestionDashboardInputs { | ||
fun likeSuggestion(index: Int, suggestionId: Int) | ||
fun cancelLikeSuggestion(index: Int, suggestionId: Int) | ||
fun moveToCreateSuggestion() | ||
fun moveToSuggestionDetail(suggestionId: Int) | ||
fun moveToSuggestionDetail(suggestionId: Int, suggestionUI: SuggestionUI) | ||
fun goBack() | ||
} |
3 changes: 3 additions & 0 deletions
3
...roid/mission_suggestion/ui/dashboard/presentation/contract/SuggestionDashboardUiEffect.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,7 +1,10 @@ | ||
package com.lgtm.android.mission_suggestion.ui.dashboard.presentation.contract | ||
|
||
import com.lgtm.domain.mission_suggestion.SuggestionContent | ||
|
||
sealed class SuggestionDashboardUiEffect { | ||
object GoBack: SuggestionDashboardUiEffect() | ||
object CreateSuggestion: SuggestionDashboardUiEffect() | ||
data class SuggestionDetail(val suggestionId: Int): SuggestionDashboardUiEffect() | ||
data class ShotSuggestionClickLogging(val suggestionContent: SuggestionContent): SuggestionDashboardUiEffect() | ||
} |
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