toggle menu
core
common
switch theme
search in API
core
/
com.erolc.mrouter.route.shareelement
/
ShareTransitionJoin
Share
Transition
Join
class
ShareTransitionJoin
<
T
>
(
transition
:
ShareTransition
,
index
:
Int
,
sharing
:
Sharing
.
(
preValue
:
T
,
currentValue
:
T
)
->
T
=
{ _, current -> current }
)
用于连接transition和anim的累
Members
Constructors
Share
Transition
Join
Link copied to clipboard
constructor
(
transition
:
ShareTransition
,
index
:
Int
,
sharing
:
Sharing
.
(
preValue
:
T
,
currentValue
:
T
)
->
T
=
{ _, current -> current }
)
Functions
with
Link copied to clipboard
@
Composable
infix
fun
with
(
anim
:
ShareAnimBody
<
T
>
)
:
State
<
T
>