commonMain.dev.programadorthi.routing.compose.ComposeManager.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of compose Show documentation
Show all versions of compose Show documentation
An extensible and multiplatform routing system powered by Ktor
package dev.programadorthi.routing.compose
import androidx.compose.runtime.snapshots.SnapshotStateList
import dev.programadorthi.routing.core.Routing
import dev.programadorthi.routing.core.application.ApplicationCall
import io.ktor.util.AttributeKey
private val ComposeRoutingAttributeKey: AttributeKey> =
AttributeKey("ComposeRoutingAttributeKey")
internal var Routing.callStack: SnapshotStateList
get() = attributes[ComposeRoutingAttributeKey]
set(value) {
attributes.put(ComposeRoutingAttributeKey, value)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy