Updated on 2026-08-14
This commit is contained in:
parent
189ffd9927
commit
d327640e9f
10 changed files with 64 additions and 10 deletions
|
|
@ -16,4 +16,7 @@ dependencies {
|
|||
implementation(projects.core.decompose)
|
||||
implementation(projects.core.ui)
|
||||
implementation(projects.core.analytics.models)
|
||||
|
||||
/** Common */
|
||||
implementation(projects.common.routing)
|
||||
}
|
||||
|
|
@ -1,9 +1,19 @@
|
|||
package com.tangem.features.pushnotifications.api
|
||||
|
||||
import com.tangem.common.routing.AppRoute
|
||||
import com.tangem.core.decompose.factory.ComponentFactory
|
||||
import com.tangem.core.ui.decompose.ComposableContentComponent
|
||||
|
||||
interface PushNotificationsComponent : ComposableContentComponent {
|
||||
|
||||
interface Factory : ComponentFactory<Unit, PushNotificationsComponent>
|
||||
interface Factory : ComponentFactory<Params, PushNotificationsComponent>
|
||||
|
||||
interface ModelCallbacks {
|
||||
fun onResult()
|
||||
}
|
||||
|
||||
sealed class Params {
|
||||
data class Callbacks(val callbacks: ModelCallbacks) : Params()
|
||||
data class Route(val route: AppRoute) : Params()
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue