There is an option to jump to end ConstraintSet
in XML in MotionLayout
.
<Transition
app:autoTransition="jumpToEnd"
motion:constraintSetEnd="@+id/constraintStart"
motion:constraintSetStart="@+id/constraintEnd"
motion:duration="300" />
Can this be done programmatically?