-
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.
[FEATURE]#75 : Notification Intent 구현
- Loading branch information
1 parent
892ac29
commit a767671
Showing
3 changed files
with
18 additions
and
0 deletions.
There are no files selected for viewing
8 changes: 8 additions & 0 deletions
8
feature/notification/src/main/kotlin/com/bff/wespot/notification/state/NotificationAction.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.bff.wespot.notification.state | ||
|
||
import com.bff.wespot.model.notification.Notification | ||
|
||
sealed class NotificationAction { | ||
data object OnNotificationScreenEntered : NotificationAction() | ||
data class OnNotificationClicked(val notification: Notification) : NotificationAction() | ||
} |
3 changes: 3 additions & 0 deletions
3
.../notification/src/main/kotlin/com/bff/wespot/notification/state/NotificationSideEffect.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,3 @@ | ||
package com.bff.wespot.notification.state | ||
|
||
sealed class NotificationSideEffect |
7 changes: 7 additions & 0 deletions
7
...ure/notification/src/main/kotlin/com/bff/wespot/notification/state/NotificationUiState.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,7 @@ | ||
package com.bff.wespot.notification.state | ||
|
||
import com.bff.wespot.model.notification.Notification | ||
|
||
data class NotificationUiState( | ||
val notificationList: List<Notification> = listOf(), | ||
) |