Skip to content

//workflow/com.squareup.workflow1.ui/Named

Named

[jvm] @WorkflowUiExperimentalApi()

data class Named<W : Any>(wrapped: W, name: String) : Compatible

This will be deprecated in favor of NamedScreen very soon.

Allows renderings that do not implement Compatible themselves to be distinguished by more than just their type. Instances are compatible if they have the same name and have compatible fields.

Constructors

Named [jvm] fun <W : Any> Named(wrapped: W, name: String)

Functions

Name Summary
toString [jvm]
Content
open override fun toString(): String


Properties

Name Summary
compatibilityKey [jvm] open override val compatibilityKey: StringInstances of the same type are compatible iff they have the same compatibilityKey.
name [jvm] val name: String
wrapped [jvm] val wrapped: W