forked from GitHub-Mirror/riotX-android
Fix / line too long
This commit is contained in:
parent
1da0b5be76
commit
3c16701766
@ -9,7 +9,9 @@ import androidx.transition.Transition
|
|||||||
import androidx.transition.TransitionManager
|
import androidx.transition.TransitionManager
|
||||||
|
|
||||||
|
|
||||||
inline fun ConstraintLayout.updateConstraintSet(@LayoutRes layoutId: Int, rootLayoutForAnimation: ConstraintLayout? = null, noinline onAnimationEnd: (() -> Unit)? = null) {
|
inline fun ConstraintLayout.updateConstraintSet(@LayoutRes layoutId: Int,
|
||||||
|
rootLayoutForAnimation: ConstraintLayout? = null,
|
||||||
|
noinline onAnimationEnd: (() -> Unit)? = null) {
|
||||||
if (rootLayoutForAnimation != null) {
|
if (rootLayoutForAnimation != null) {
|
||||||
val transition = ChangeBounds()
|
val transition = ChangeBounds()
|
||||||
transition.interpolator = OvershootInterpolator()
|
transition.interpolator = OvershootInterpolator()
|
||||||
|
Loading…
Reference in New Issue
Block a user