caif
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
caif
core
/
com.nxoim.caif.prefabs.stack
/
ContextHistory
Context
History
class
ContextHistory
<
ItemType
,
Key
:
Any
,
Context
,
CreationContext
>
(
resolver
:
ContextResolver
<
ItemType
,
Key
,
Context
,
CreationContext
>
)
Members
Constructors
Context
History
Link copied to clipboard
constructor
(
resolver
:
ContextResolver
<
ItemType
,
Key
,
Context
,
CreationContext
>
)
Properties
current
Link copied to clipboard
val
current
:
Map
<
Key
,
Context
>
previous
Link copied to clipboard
val
previous
:
Map
<
Key
,
Context
>
Functions
push
Link copied to clipboard
fun
push
(
newStack
:
List
<
ItemType
>
,
previousStack
:
List
<
ItemType
>
?
,
treatNewEnteringAsPreparing
:
Boolean
,
recalculateEnteringToMoving
:
Boolean
,
preserveUnresolvedContexts
:
Boolean
=
false
)