Package-level declarations
Types
Link copied to clipboard
class CircuitContext(val parent: CircuitContext?, tags: MutableMap<KClass<*>, Any> = mutableMapOf())
A CircuitContext is used in Presenter.Factory and Ui.Factory to inform creation of their respective Presenter and Ui instances.
Link copied to clipboard
Marker interface for all UiEvent types.
Link copied to clipboard
Marker interface for all UiState types.
Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.CLASS, AnnotationTarget.FUNCTION, AnnotationTarget.TYPEALIAS, AnnotationTarget.PROPERTY, AnnotationTarget.CONSTRUCTOR] )
@RequiresOptIn(level = RequiresOptIn.Level.ERROR, message = "This is an experimental Circuit API that may be changed or removed at any time. This usually means it's under active development or incubation, please report any feedback on the issue tracker.")
Link copied to clipboard
A minimal navigation interface that only supports forward navigation via goTo.
Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.CLASS, AnnotationTarget.FUNCTION, AnnotationTarget.TYPEALIAS, AnnotationTarget.PROPERTY, AnnotationTarget.CONSTRUCTOR] )
@RequiresOptIn(level = RequiresOptIn.Level.ERROR, message = "This is an internal Circuit API that should not be used from outside of com.slack.circuit. No compatibility guarantees are provided. It is recommended to report your use-case of internal API to Circuit issue tracker, so a stable API could be provided instead")
Marks declarations that are internal in Circuit's API, meaning that they should not be used outside of Circuit's first party API. This is their signatures and semantics will change between future releases without any warnings and without providing any migration aids.
Link copied to clipboard
A basic navigation interface for navigating between screens.
Functions
Link copied to clipboard
fun Navigator.resetRoot(newRoot: Screen, saveState: Boolean = false, restoreState: Boolean = false, clearState: Boolean = false): List<Screen>
Parameter based alternate for Navigator.resetRoot.